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 | 9a060a0f242eee0b0c95fb21364bce0e790d3528 (patch) | |
tree | dc182cc3e9eea6a1776b7fdc84014ec094051275 /train_gui.c | |
parent | 2ae758a32beeb13fbefcc2bf84dfca20ab24b1f9 (diff) | |
download | openttd-9a060a0f242eee0b0c95fb21364bce0e790d3528.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) { |