diff options
author | tron <tron@openttd.org> | 2005-02-04 20:40:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-04 20:40:04 +0000 |
commit | 63793041263223303f9bd9963101f5f050e8ad78 (patch) | |
tree | 08aa6c9e8663023614f86710f85fdd0b8d8783b9 /aircraft_gui.c | |
parent | 981b6c1ecd91e994c97244de8a8f672b8df7e86c (diff) | |
download | openttd-63793041263223303f9bd9963101f5f050e8ad78.tar.xz |
(svn r1798) GetFoo(i)->index is per definition i, so replace the former with the latter
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index 769abc65f..000415e73 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -1012,7 +1012,7 @@ static void PlayerAircraftWndProc(Window *w, WindowEvent *e) w->widget[1].unkA = STR_A009_AIRCRAFT; } else { /* Station Name -- (###) Aircraft */ - SetDParam(0, GetStation(station)->index); + SetDParam(0, station); SetDParam(1, w->vscroll.count); w->widget[1].unkA = STR_SCHEDULED_AIRCRAFT; } |