changeset 18067:cbdb3230da31 draft

(svn r22882) -Fix [FS#4758]: [NewGRF] DCxx text references via the textstack are not allowed, but caused crash.
author frosch <frosch@openttd.org>
date Sat, 03 Sep 2011 16:10:42 +0000
parents 4871848c9435
children 205693e6a7c5
files src/newgrf_text.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -57,7 +57,7 @@
 	};
 
 	/* A string straight from a NewGRF; no need to remap this as it's already mapped. */
-	if (IsInsideMM(str, 0xD000, 0xD7FF) || IsInsideMM(str, 0xDC00, 0xDCFF)) return str;
+	if (IsInsideMM(str, 0xD000, 0xD7FF)) return str;
 
 #define TEXTID_TO_STRINGID(begin, end, stringid) if (str >= begin && str <= end) return str + (stringid - begin)
 	/* We have some changes in our cargo strings, resulting in some missing. */