summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r--roadveh_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 9f86e863f..167e17ef7 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -597,7 +597,7 @@ static void DrawRoadDepotWindow(Window *w)
}
}
-static int GetVehicleFromRoadDepotWndPt(Window *w, int x, int y, Vehicle **veh)
+static int GetVehicleFromRoadDepotWndPt(const Window *w, int x, int y, Vehicle **veh)
{
uint xt,row,xm;
TileIndex tile;