(svn r1798) GetFoo(i)->index is per definition i, so replace the former with the latter

This commit is contained in:
tron
2005-02-04 20:40:04 +00:00
parent b4c3f9aaf0
commit 4b71f9126e
5 changed files with 5 additions and 5 deletions

View File

@@ -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;
}