From 4b71f9126e69aa1cb9c8293bc836401dfe7bdda4 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 4 Feb 2005 20:40:04 +0000 Subject: (svn r1798) GetFoo(i)->index is per definition i, so replace the former with the latter --- train_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train_gui.c') diff --git a/train_gui.c b/train_gui.c index 7bfa0fc29..cc98d3471 100644 --- a/train_gui.c +++ b/train_gui.c @@ -1298,7 +1298,7 @@ static void PlayerTrainsWndProc(Window *w, WindowEvent *e) w->widget[1].unkA = STR_881B_TRAINS; } else { /* Station Name -- (###) Trains */ - SetDParam(0, GetStation(station)->index); + SetDParam(0, station); SetDParam(1, w->vscroll.count); w->widget[1].unkA = STR_SCHEDULED_TRAINS; } -- cgit v1.2.3-54-g00ecf