diff options
author | tron <tron@openttd.org> | 2007-02-25 10:25:25 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-25 10:25:25 +0000 |
commit | 270e366772236f06c448cb170575422131316b16 (patch) | |
tree | abc5191717ba01b74c3935c96421507302feb34d /src/vehicle.h | |
parent | 5d081ed3509fdcbac388985061bdd9f537a955a0 (diff) | |
download | openttd-270e366772236f06c448cb170575422131316b16.tar.xz |
(svn r8896) -Fix
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult.
Therefore remove the return value.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index 93cb13117..8ac880e96 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -427,7 +427,7 @@ typedef struct GetNewVehiclePosResult { Trackdir GetVehicleTrackdir(const Vehicle* v); /* returns true if staying in the same tile */ -bool GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); +void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); Direction GetDirectionTowards(const Vehicle* v, int x, int y); #define BEGIN_ENUM_WAGONS(v) do { |