diff options
author | Max Horn | 2008-05-18 22:33:41 +0000 |
---|---|---|
committer | Max Horn | 2008-05-18 22:33:41 +0000 |
commit | 91b22e588652a48866ee283779f1613e4d0f093b (patch) | |
tree | e4bed50c734b7ede78fc48df71c5f26a970fd226 /engines | |
parent | 74311906f24fa22256fdb7520dfb1851ea3324ab (diff) | |
download | scummvm-rg350-91b22e588652a48866ee283779f1613e4d0f093b.tar.gz scummvm-rg350-91b22e588652a48866ee283779f1613e4d0f093b.tar.bz2 scummvm-rg350-91b22e588652a48866ee283779f1613e4d0f093b.zip |
Fix for bug #1940063 (MONKEY: Crash during the marriage lechuck/marley) -- regression was introduced by rev 28167 -- rule of thumb, if you add game specific code, make it game specifc ... ;)
svn-id: r32177
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/charset.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp index 46d034d880..bc10d73519 100644 --- a/engines/scumm/charset.cpp +++ b/engines/scumm/charset.cpp @@ -400,7 +400,8 @@ int CharsetRenderer::getStringWidth(int arg, const byte *text) { // Some localizations may override colors // See credits in Chinese COMI - if (chr == '^' && pos == 1) { + if (_vm->_game.id == GID_CMI && _vm->_language == Common::ZH_TWN + && chr == '^' && pos == 1) { if (text[pos] == 'c') { pos += 4; chr = text[pos++]; |