(svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka.

This commit is contained in:
rubidium
2007-10-17 20:09:16 +00:00
parent 5e347f80e1
commit e21b7634bf
6 changed files with 68 additions and 22 deletions

View File

@@ -503,7 +503,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e)
if (message != STR_NULL && message != STR_UNDEFINED) {
y += 10;
PrepareTextRefStackUsage();
PrepareTextRefStackUsage(6);
DrawString(2, y, message, 0);
StopTextRefStackUsage();
}