summaryrefslogtreecommitdiff
path: root/aircraft_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
commit0ad3902acfe4a10d1ef31e43765cbcd7cf82eb1e (patch)
tree6eb5ead43a3cbbdd3042baf3269401e60838aebd /aircraft_gui.c
parent42db6338505959e6f1d59986615944cc1fb0ca86 (diff)
downloadopenttd-0ad3902acfe4a10d1ef31e43765cbcd7cf82eb1e.tar.xz
(svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 234a94ff5..b01b52129 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -128,7 +128,7 @@ static void NewAircraftWndProc(Window *w, WindowEvent *e)
int y = 15;
int sel = WP(w,buildtrain_d).sel_index;
int pos = w->vscroll.pos;
- int engine_id = AIRCRAFT_ENGINES_INDEX;
+ EngineID engine_id = AIRCRAFT_ENGINES_INDEX;
int selected_id = -1;
do {