diff options
author | PeterN <peter@fuzzle.org> | 2018-05-22 18:43:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 18:43:34 +0100 |
commit | a07394a63a67e13db4cd583796ebc8e009082944 (patch) | |
tree | 19afa5ffe450b7e0ef908fde114326aa34de249d /src/saveload | |
parent | 4cebebcf683b079ff010e70b0a0a78c12734933e (diff) | |
download | openttd-a07394a63a67e13db4cd583796ebc8e009082944.tar.xz |
Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792)
The value is either unused or always the same as this->direction.
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 0bd283405..bb3db3fe3 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -461,7 +461,7 @@ void AfterLoadVehicles(bool part_of_load) default: break; } - v->UpdateDeltaXY(v->direction); + v->UpdateDeltaXY(); v->coord.left = INVALID_COORD; v->UpdatePosition(); v->UpdateViewport(false); |