mirror of https://github.com/OpenTTD/OpenTTD
(svn r11132) -Fix: NewGRFs seem to assume that STR_NULL is an empty string or so.
parent
42b629c78c
commit
5fe04f2db7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue