Changeset - r18385:4404316f59b4
[Not reviewed]
master
0 1 0
michi_cc - 13 years ago 2011-11-15 19:53:46
michi_cc@openttd.org
(svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_engine.cpp
Show inline comments
 
@@ -795,7 +795,7 @@ static uint32 VehicleGetVariable(Vehicle
 
			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);
0 comments (0 inline, 0 general)