summaryrefslogtreecommitdiff
path: root/ship_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-01 12:43:34 +0000
committertron <tron@openttd.org>2005-10-01 12:43:34 +0000
commit0cc45ecd8edb44a860470cd906f89ccb3fcd6203 (patch)
tree6eb5ead43a3cbbdd3042baf3269401e60838aebd /ship_gui.c
parenteb1d025d082163377b1d22b4e32d5a998544abe7 (diff)
downloadopenttd-0cc45ecd8edb44a860470cd906f89ccb3fcd6203.tar.xz
(svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Diffstat (limited to 'ship_gui.c')
-rw-r--r--ship_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c
index aa522a574..898591482 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -351,7 +351,7 @@ static void NewShipWndProc(Window *w, WindowEvent *e)
int y = 15;
int sel = WP(w,buildtrain_d).sel_index;
int pos = w->vscroll.pos;
- int engine_id = SHIP_ENGINES_INDEX;
+ EngineID engine_id = SHIP_ENGINES_INDEX;
int selected_id = -1;
do {