Changeset - r21335:b614378f1395
[Not reviewed]
master
0 1 0
frosch - 10 years ago 2014-03-26 21:27:37
frosch@openttd.org
(svn r26430) -Feature(ette): Add vehicle modflag 1 (unloading in progress).
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_engine.cpp
Show inline comments
 
@@ -716,6 +716,7 @@ static uint32 VehicleGetVariable(Vehicle
 
				if (powered && !has_power) SetBit(modflags, 6);
 
				if (HasBit(t->flags, VRF_TOGGLE_REVERSE)) SetBit(modflags, 8);
 
			}
 
			if (HasBit(v->vehicle_flags, VF_CARGO_UNLOADING)) SetBit(modflags, 1);
 
			if (HasBit(v->vehicle_flags, VF_BUILT_AS_PROTOTYPE)) SetBit(modflags, 10);
 

	
 
			return variable == 0xFE ? modflags : GB(modflags, 8, 8);
0 comments (0 inline, 0 general)