summaryrefslogtreecommitdiff
path: root/roadveh_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 /roadveh_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 '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 e107dc2d4..8d82a2949 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -411,7 +411,7 @@ static void DrawNewRoadVehWindow(Window *w)
int y = 15;
int sel = WP(w,buildtrain_d).sel_index;
int pos = w->vscroll.pos;
- int engine_id = ROAD_ENGINES_INDEX;
+ EngineID engine_id = ROAD_ENGINES_INDEX;
int selected_id = -1;
do {