diff options
author | darkvater <darkvater@openttd.org> | 2004-08-10 14:32:17 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-10 14:32:17 +0000 |
commit | e4940ebc79149fee171d11ed33e10a810a25c379 (patch) | |
tree | 03ce1cb2a09c5888b5066489b8d20d5ec39d561d /town_gui.c | |
parent | 804f038594ccd7d12b776299038f9bc5809f90e5 (diff) | |
download | openttd-e4940ebc79149fee171d11ed33e10a810a25c379.tar.xz |
(svn r3) -[1005611] Player Window patch: When looking in dropdownlist for player stuff, it will say
for all human players (Player #), not only for the first 2
Diffstat (limited to 'town_gui.c')
-rw-r--r-- | town_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/town_gui.c b/town_gui.c index ca89593b8..d103b4503 100644 --- a/town_gui.c +++ b/town_gui.c @@ -114,7 +114,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e) SET_DPARAM16(0, p->name_1); SET_DPARAM32(1, p->name_2); - SET_DPARAM16(2, GetPlayerNameString(p->index)); + SET_DPARAM16(2, GetPlayerNameString(p->index, 3)); r = t->ratings[p->index]; (str = STR_3035_APPALLING, r <= -400) || // Apalling @@ -126,7 +126,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e) (str++, r <= 800) || // Excellent (str++, true); // Outstanding - SET_DPARAM16(3, str); + SET_DPARAM16(4, str); DrawString(19, y, STR_2024, 0); y+=10; } |