mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-16 02:59:10 +00:00
(svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
This commit is contained in:
2
engine.c
2
engine.c
@@ -375,6 +375,8 @@ static const SpriteGroup* ResolveVehicleSpriteGroup(const SpriteGroup *spritegro
|
||||
if (dsg->variable == 0x0C) {
|
||||
/* Callback ID */
|
||||
value = callback_info & 0xFF;
|
||||
} else if (dsg->variable == 0x10) {
|
||||
value = (callback_info >> 8) & 0xFF;
|
||||
} else if ((dsg->variable >> 6) == 0) {
|
||||
/* General property */
|
||||
value = GetDeterministicSpriteValue(dsg->variable);
|
||||
|
Reference in New Issue
Block a user