(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.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user