(svn r10415) -Revert (r10403), Fix (r10323): 'message from company' test must use {STRING1}, so pass it the correct params
This commit is contained in:
@@ -935,7 +935,8 @@ static void BuyCompanyWndProc(Window *w, WindowEvent *e)
|
||||
switch (e->event) {
|
||||
case WE_PAINT: {
|
||||
Player *p = GetPlayer((PlayerID)w->window_number);
|
||||
SetDParam(0, p->index);
|
||||
SetDParam(0, STR_COMPANY_NAME);
|
||||
SetDParam(1, p->index);
|
||||
DrawWindowWidgets(w);
|
||||
|
||||
DrawPlayerFace(p->face, p->player_color, 2, 16);
|
||||
|
Reference in New Issue
Block a user