summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-10 14:32:17 +0000
committerdarkvater <darkvater@openttd.org>2004-08-10 14:32:17 +0000
commite4940ebc79149fee171d11ed33e10a810a25c379 (patch)
tree03ce1cb2a09c5888b5066489b8d20d5ec39d561d /main_gui.c
parent804f038594ccd7d12b776299038f9bc5809f90e5 (diff)
downloadopenttd-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 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 5dbeabf2f..46ec07d80 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -504,7 +504,7 @@ static void PlayerMenuWndProc(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));
color = (byte)((p->index==sel) ? 0xC : 0x10);
if (chk&1) color = 14;