(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
This commit is contained in:
@@ -816,7 +816,7 @@ static void FloodVehicle(Vehicle *v)
|
||||
FreeTrainTrackReservation((Train *)v);
|
||||
v->vehstatus |= VS_CRASHED;
|
||||
}
|
||||
v->u.rail.crash_anim_pos = 4000; // max 4440, disappear pretty fast
|
||||
((Train *)v)->crash_anim_pos = 4000; // max 4440, disappear pretty fast
|
||||
InvalidateWindowClassesData(WC_TRAINS_LIST, 0);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user