diff options
-rw-r--r-- | newgrf_engine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c index 0c46cd548..1c9128ec1 100644 --- a/newgrf_engine.c +++ b/newgrf_engine.c @@ -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; |