(svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible
This commit is contained in:
@@ -442,7 +442,8 @@ void AfterLoadVehicles(bool part_of_load)
|
||||
|
||||
v->UpdateDeltaXY(v->direction);
|
||||
v->coord.left = INVALID_COORD;
|
||||
VehicleMove(v, false);
|
||||
VehicleUpdatePosition(v);
|
||||
VehicleUpdateViewport(v, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user