diff options
author | ludde <ludde@openttd.org> | 2005-08-01 16:31:19 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-08-01 16:31:19 +0000 |
commit | 29564f9fcfc6e2dffb7afa196dbcabb04c99bee7 (patch) | |
tree | dc182cc3e9eea6a1776b7fdc84014ec094051275 /train_gui.c | |
parent | 91353c841f3adde7f601ab4185e3486a034dbd04 (diff) | |
download | openttd-29564f9fcfc6e2dffb7afa196dbcabb04c99bee7.tar.xz |
(svn r2781) Fix some of the issues with variables in .h files.
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/train_gui.c b/train_gui.c index 2b6e22d5e..971d1d467 100644 --- a/train_gui.c +++ b/train_gui.c @@ -666,7 +666,7 @@ static void TrainDepotWndProc(Window *w, WindowEvent *e) } } break; - + case WE_PLACE_OBJ: { ClonePlaceObj(e->place.tile, w); } break; @@ -675,7 +675,7 @@ static void TrainDepotWndProc(Window *w, WindowEvent *e) CLRBIT(w->click_state, 9); InvalidateWidget(w, 9); } break; - + // check if a vehicle in a depot was clicked.. case WE_MOUSELOOP: { Vehicle *v = _place_clicked_vehicle; @@ -924,7 +924,7 @@ static void TrainViewWndProc(Window *w, WindowEvent *e) /* draw widgets & caption */ SetDParam(0, v->string_id); - SetDParam(1, v->unitnumber); + SetDParam(1, v->unitnumber); DrawWindowWidgets(w); if (v->u.rail.crash_anim_pos != 0) { |