ship_gui.c
changeset 2436 177cb6a8339f
parent 2406 be5cfb8cd20d
child 2466 2774132ebb9a
--- a/ship_gui.c	Sat Sep 17 13:57:01 2005 +0000
+++ b/ship_gui.c	Sun Sep 18 20:56:44 2005 +0000
@@ -673,7 +673,7 @@
 	}
 }
 
-static int GetVehicleFromShipDepotWndPt(Window *w, int x, int y, Vehicle **veh)
+static int GetVehicleFromShipDepotWndPt(const Window *w, int x, int y, Vehicle **veh)
 {
 	uint xt,row,xm,ym;
 	TileIndex tile;
@@ -928,7 +928,7 @@
 }
 
 
-static void DrawSmallOrderList(Vehicle *v, int x, int y) {
+static void DrawSmallOrderList(const Vehicle *v, int x, int y) {
 	const Order *order;
 	int sel, i = 0;