diff options
author | rubidium <rubidium@openttd.org> | 2014-09-20 15:31:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-20 15:31:26 +0000 |
commit | 6c2abf0930c23e7da82a892fb37c97786c245c00 (patch) | |
tree | 13db191cf49b57df14fdbf2c71ce558bbda57f6a /src/saveload | |
parent | c4311903b71345a9c5ad0e5271ed722d71994c9e (diff) | |
download | openttd-6c2abf0930c23e7da82a892fb37c97786c245c00.tar.xz |
(svn r26863) -Codechange: move a number of Vehicle* functions into the Vehicle class
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |