(svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch.

This commit is contained in:
michi_cc 2011-11-15 19:53:46 +00:00
parent e97b747f5d
commit d7d032f70a
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ static uint32 VehicleGetVariable(Vehicle *v, const ResolverObject *object, byte
switch (variable - 0x80) {
case 0x62: return t->track;
case 0x66: return t->railtype;
case 0x73: return t->gcache.cached_veh_length;
case 0x73: return 0x80 + VEHICLE_LENGTH - t->gcache.cached_veh_length;
case 0x74: return t->gcache.cached_power;
case 0x75: return GB(t->gcache.cached_power, 8, 24);
case 0x76: return GB(t->gcache.cached_power, 16, 16);