diff options
author | frosch <frosch@openttd.org> | 2011-09-03 16:10:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-09-03 16:10:42 +0000 |
commit | 0dca1941ad682397af4635da3930e6fbdb1da77d (patch) | |
tree | 862bc6adf2bddcc5de8e63993da201a168ef2a8e | |
parent | 5ccd091fd1bdf9a92b2424bba2dd63b372df0639 (diff) | |
download | openttd-0dca1941ad682397af4635da3930e6fbdb1da77d.tar.xz |
(svn r22882) -Fix [FS#4758]: [NewGRF] DCxx text references via the textstack are not allowed, but caused crash.
-rw-r--r-- | src/newgrf_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index 334fa9871..74b024ca9 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -57,7 +57,7 @@ StringID TTDPStringIDToOTTDStringIDMapping(StringID str) }; /* 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. */ |