(svn r10323) -Codechange: reference company name, number and player (president) name

by index
This commit is contained in:
2007-06-25 13:30:38 +00:00
parent 0e59b4dc57
commit eb6594caa8
19 changed files with 114 additions and 140 deletions

View File

@@ -309,10 +309,8 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e)
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 */