diff options
author | Eugene Sandulenko | 2016-01-14 00:24:37 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-14 00:24:53 +0100 |
commit | c809a65b93d23aa30296f7f22ef4b160f628b9aa (patch) | |
tree | efccf9c68cd39862bd1cd905dd2f81329f607d0a /engines/scumm | |
parent | e0e7790dfb4f86936b297a8479c71d4eb456e46b (diff) | |
download | scummvm-rg350-c809a65b93d23aa30296f7f22ef4b160f628b9aa.tar.gz scummvm-rg350-c809a65b93d23aa30296f7f22ef4b160f628b9aa.tar.bz2 scummvm-rg350-c809a65b93d23aa30296f7f22ef4b160f628b9aa.zip |
SCUMM: Fix Russian Zak
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/charset-fontdata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/charset-fontdata.cpp b/engines/scumm/charset-fontdata.cpp index 3c48314165..23e89b1878 100644 --- a/engines/scumm/charset-fontdata.cpp +++ b/engines/scumm/charset-fontdata.cpp @@ -617,7 +617,7 @@ CharsetRendererV2::CharsetRendererV2(ScummEngine *vm, Common::Language language) replacementChars = sizeof(spanishCharsetDataV2) / 2; break; case Common::RU_RUS: - if ((_vm->_game.id == GID_MANIAC) && (_vm->_game.version == 2)) { + if (((_vm->_game.id == GID_MANIAC) || (_vm->_game.id == GID_ZAK)) && (_vm->_game.version == 2)) { replacementData = russCharsetDataV2; replacementChars = sizeof(russCharsetDataV2) / 2; } else { @@ -638,7 +638,7 @@ CharsetRendererV2::CharsetRendererV2(ScummEngine *vm, Common::Language language) int ch1 = replacementData[2 * i]; int ch2 = replacementData[2 * i + 1]; - if ((_vm->_game.id == GID_MANIAC) && (_vm->_game.version == 2)) { + if (((_vm->_game.id == GID_MANIAC) || (_vm->_game.id == GID_ZAK)) && (_vm->_game.version == 2)) { memcpy(const_cast<byte *>(_fontPtr) + 8 * ch1, russianCharsetDataV2 + 8 * ch2, 8); } else { memcpy(const_cast<byte *>(_fontPtr) + 8 * ch1, specialCharsetData + 8 * ch2, 8); |