forked from mirror/OpenTTD
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
This commit is contained in:
@@ -982,7 +982,7 @@ void VehicleEnterDepot(Vehicle *v)
|
||||
if (!IsFrontEngine(v)) v = v->First();
|
||||
UpdateSignalsOnSegment(v->tile, INVALID_DIAGDIR, v->owner);
|
||||
v->load_unload_time_rem = 0;
|
||||
ClrBit(((Train *)v)->u.rail.flags, VRF_TOGGLE_REVERSE);
|
||||
ClrBit(((Train *)v)->flags, VRF_TOGGLE_REVERSE);
|
||||
TrainConsistChanged((Train *)v, true);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user