diff options
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -350,8 +350,8 @@ typedef struct GetNewVehiclePosResult { Trackdir GetVehicleTrackdir(const Vehicle* v); /* returns true if staying in the same tile */ -bool GetNewVehiclePos(Vehicle *v, GetNewVehiclePosResult *gp); -byte GetDirectionTowards(Vehicle *v, int x, int y); +bool GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); +byte GetDirectionTowards(const Vehicle *v, int x, int y); #define BEGIN_ENUM_WAGONS(v) do { #define END_ENUM_WAGONS(v) } while ( (v=v->next) != NULL); |