From 1a9e1c5e91d5edc6e0b285516081198105332802 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 5 Mar 2017 14:42:41 +0000 Subject: [PATCH] (svn r27766) -Fix: Obiwan opposed translations for text id D3FF and DCFF in Action 13. --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 14593b7e30..e8659e4648 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; }