diff options
-rw-r--r-- | newgrf_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c index 64c88ab22..faa3bfef4 100644 --- a/newgrf_engine.c +++ b/newgrf_engine.c @@ -582,7 +582,7 @@ static uint32 VehicleGetVariable(const ResolverObject *object, byte variable, by u = u->next; } - return chain_before | chain_after << 8 | (chain_before + chain_after) << 16; + return chain_before | chain_after << 8 | (chain_before + chain_after + (variable == 0x41)) << 16; } case 0x42: { /* Consist cargo information */ |