mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r5320) - NewGRF: make sets using TTDPatch's train reversing hack/feature happier (and consistent) by returning 0 for the flag it uses.
This commit is contained in:
parent
02e9656ec3
commit
7e7e8a6c6b
|
@ -727,6 +727,7 @@ static uint32 VehicleGetVariable(const ResolverObject *object, byte variable, by
|
|||
case 0x77: return v->u.rail.cached_power & 0xFF;
|
||||
case 0x7C: return v->first->index;
|
||||
case 0x7D: return v->first->index & 0xFF;
|
||||
case 0x7F: return 0; // Used for vehicle reversing hack in TTDP
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue