From 6c2abf0930c23e7da82a892fb37c97786c245c00 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 20 Sep 2014 15:31:26 +0000 Subject: (svn r26863) -Codechange: move a number of Vehicle* functions into the Vehicle class --- src/saveload/vehicle_sl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saveload') diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 453210baa..40f73bdba 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -459,8 +459,8 @@ void AfterLoadVehicles(bool part_of_load) v->UpdateDeltaXY(v->direction); v->coord.left = INVALID_COORD; - VehicleUpdatePosition(v); - VehicleUpdateViewport(v, false); + v->UpdatePosition(); + v->UpdateViewport(false); } } -- cgit v1.2.3-70-g09d2