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/disaster_vehicle.h | |
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/disaster_vehicle.h')
-rw-r--r-- | src/disaster_vehicle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disaster_vehicle.h b/src/disaster_vehicle.h index 06fb36c1e..e86d96e97 100644 --- a/src/disaster_vehicle.h +++ b/src/disaster_vehicle.h @@ -48,7 +48,7 @@ struct DisasterVehicle FINAL : public SpecializedVehicle<DisasterVehicle, VEH_DI virtual ~DisasterVehicle() {} void UpdatePosition(int x, int y, int z); - void UpdateDeltaXY(Direction direction); + void UpdateDeltaXY(); void UpdateImage(); bool Tick(); }; |