(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
This commit is contained in:
darkvater
2004-08-10 14:32:17 +00:00
parent 804f038594
commit e4940ebc79
7 changed files with 17 additions and 15 deletions

View File

@@ -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;
}