summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-03-05 14:42:41 +0000
committerfrosch <frosch@openttd.org>2017-03-05 14:42:41 +0000
commit1a9e1c5e91d5edc6e0b285516081198105332802 (patch)
tree37cec25049b976d43ea51c5e726ffa286a0a8b7b /src
parenta18ead5c6725f7eb5a25a7531643cee0b24b44b4 (diff)
downloadopenttd-1a9e1c5e91d5edc6e0b285516081198105332802.tar.xz
(svn r27766) -Fix: Obiwan opposed translations for text id D3FF and DCFF in Action 13.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 14593b7e3..e8659e464 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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;
}