1
0
Fork 0

(svn r17150) -Codechange: when MapGRFStringID() fails to remap, return STR_EMPTY instead of 'random' string

release/1.0
smatz 2009-08-10 22:36:15 +00:00
parent 52f9b8ffbd
commit 616370eae3
1 changed files with 3 additions and 1 deletions

View File

@ -320,7 +320,9 @@ StringID MapGRFStringID(uint32 grfid, StringID str)
if (str == STR_NULL) return STR_EMPTY;
return str;
DEBUG(grf, 0, "Unknown StringID 0x%04X remapped to STR_EMPTY. Please open a Feature Request if you need it", str);
return STR_EMPTY;
}
static inline uint8 MapDOSColour(uint8 colour)