From b003536ea82e95f75a1ac9d6f557246e4bf4c9f4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 11 Mar 2009 20:43:14 +0000 Subject: (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. --- src/saveload/vehicle_sl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/saveload') diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 8d614fbbd..a651d06bb 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -359,8 +359,7 @@ void AfterLoadVehicles(bool part_of_load) default: break; } - v->coord.left = INVALID_COORD; - VehiclePositionChanged(v); + VehicleMove(v, false); } } -- cgit v1.2.3-70-g09d2