Mercurial > hg > openttd
diff src/station_gui.cpp @ 7058:74d401c66902 draft
(svn r10323) -Codechange: reference company name, number and player (president) name
by index
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Mon, 25 Jun 2007 13:30:38 +0000 (2007-06-25) |
parents | f0f87c5a431e |
children | 549c757023fc |
line wrap: on
line diff
--- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -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 */