1
0
Fork 0

(svn r11132) -Fix: NewGRFs seem to assume that STR_NULL is an empty string or so.

release/0.6
rubidium 2007-09-19 18:55:26 +00:00
parent 42b629c78c
commit 5fe04f2db7
1 changed files with 2 additions and 0 deletions

View File

@ -272,6 +272,8 @@ static StringID MapGRFStringID(uint32 grfid, StringID str)
TEXID_TO_STRINGID(0x482A, 0x483B, STR_482A_PRODUCTION_LAST_MONTH);
#undef TEXTID_TO_STRINGID
if (str == STR_NULL) return STR_EMPTY;
return str;
}