diff --git a/vehicle.c b/vehicle.c --- a/vehicle.c +++ b/vehicle.c @@ -191,6 +191,9 @@ Vehicle *FindVehicleBetween(TileIndex fr return NULL; } + +static void UpdateVehiclePosHash(Vehicle* v, int x, int y); + void VehiclePositionChanged(Vehicle *v) { int img = v->cur_image; @@ -395,7 +398,7 @@ void *VehicleFromPos(TileIndex tile, voi -void UpdateVehiclePosHash(Vehicle *v, int x, int y) +static void UpdateVehiclePosHash(Vehicle* v, int x, int y) { VehicleID *old_hash, *new_hash; int old_x = v->left_coord;