diff options
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c index 7c454b151..e5de0fdfe 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -956,7 +956,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) w->widget[1].unkA = STR_9805_SHIPS; } else { /* Station Name -- (###) Trains */ - SetDParam(0, GetStation(station)->index); + SetDParam(0, station); SetDParam(1, w->vscroll.count); w->widget[1].unkA = STR_SCHEDULED_SHIPS; } |