summaryrefslogtreecommitdiff
path: root/ship_gui.c
diff options
context:
space:
mode:
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 {