diff options
author | tron <tron@openttd.org> | 2005-10-01 12:43:34 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-01 12:43:34 +0000 |
commit | 0ad3902acfe4a10d1ef31e43765cbcd7cf82eb1e (patch) | |
tree | 6eb5ead43a3cbbdd3042baf3269401e60838aebd /train_gui.c | |
parent | 42db6338505959e6f1d59986615944cc1fb0ca86 (diff) | |
download | openttd-0ad3902acfe4a10d1ef31e43765cbcd7cf82eb1e.tar.xz |
(svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/train_gui.c b/train_gui.c index 08b4a15f6..4d8a69e57 100644 --- a/train_gui.c +++ b/train_gui.c @@ -175,7 +175,7 @@ void CcCloneTrain(bool success, uint tile, uint32 p1, uint32 p2) static void engine_drawing_loop(int *x, int *y, int *pos, int *sel, int *selected_id, byte railtype, byte show_max, bool is_engine) { - int i; + EngineID i; for (i = 0; i < NUM_TRAIN_ENGINES; i++) { const Engine *e = GetEngine(i); @@ -209,7 +209,7 @@ static void NewRailVehicleWndProc(Window *w, WindowEvent *e) { int count = 0; byte railtype = WP(w,buildtrain_d).railtype; - int i; + EngineID i; for (i = 0; i < NUM_TRAIN_ENGINES; i++) { const Engine *e = GetEngine(i); |