changeset 7554 | 076c42f44a83 |
parent 7506 | e52d89f5c7c1 |
child 7837 | 65d7362153a6 |
--- a/src/station_gui.cpp Mon Jun 25 10:49:31 2007 +0000 +++ b/src/station_gui.cpp Mon Jun 25 13:30:38 2007 +0000 @@ -309,10 +309,8 @@ SetVScrollCount(w, sl->list_length); /* draw widgets, with player's name in the caption */ - const Player* p = GetPlayer(owner); - SetDParam(0, p->name_1); - SetDParam(1, p->name_2); - SetDParam(2, w->vscroll.count); + SetDParam(0, owner); + SetDParam(1, w->vscroll.count); DrawWindowWidgets(w); /* draw sorting criteria string */