aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-09-02 12:47:29 +0000
committerTravis Howell2006-09-02 12:47:29 +0000
commite1ea1b90a2fa9531738938f2ab56bff1af4b9aec (patch)
treee998a3c44e9ed067c305f83cbc93bdb5033fa357 /engines/scumm
parente8e7ff4629f0eddbd45dec17110bff29b435f967 (diff)
downloadscummvm-rg350-e1ea1b90a2fa9531738938f2ab56bff1af4b9aec.tar.gz
scummvm-rg350-e1ea1b90a2fa9531738938f2ab56bff1af4b9aec.tar.bz2
scummvm-rg350-e1ea1b90a2fa9531738938f2ab56bff1af4b9aec.zip
Fix string formating in Russian versions of HE72+ games
svn-id: r23820
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index 5d4b46ee3c..3cf3c9451b 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -1265,7 +1265,7 @@ int ScummEngine::resStrLen(const byte *src) const {
src = _scriptPointer;
while ((chr = *src++) != 0) {
num++;
- if (chr == 255) {
+ if (_game.heversion <= 71 && chr == 0xFF) {
chr = *src++;
num++;