From 696b895b776ce8a990260d1a6829a93e675aa6c7 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 25 Feb 2007 10:25:25 +0000 Subject: (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. --- src/vehicle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle.h') 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 { -- cgit v1.2.3-54-g00ecf