1
0
Fork 0

(svn r27766) -Fix: Obiwan opposed translations for text id D3FF and DCFF in Action 13.

release/1.7
frosch 2017-03-05 14:42:41 +00:00
parent a18ead5c67
commit 1a9e1c5e91
1 changed files with 1 additions and 1 deletions

View File

@ -7244,7 +7244,7 @@ static void TranslateGRFStrings(ByteReader *buf)
byte num_strings = buf->ReadByte();
uint16 first_id = buf->ReadWord();
if (!((first_id >= 0xD000 && first_id + num_strings <= 0xD3FF) || (first_id >= 0xDC00 && first_id + num_strings <= 0xDCFF))) {
if (!((first_id >= 0xD000 && first_id + num_strings <= 0xD400) || (first_id >= 0xDC00 && first_id + num_strings <= 0xDD00))) {
grfmsg(7, "TranslateGRFStrings: Attempting to set out-of-range string IDs in action 13 (first: 0x%4X, number: 0x%2X)", first_id, num_strings);
return;
}