aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-14 00:24:37 +0100
committerEugene Sandulenko2016-01-14 00:24:53 +0100
commitc809a65b93d23aa30296f7f22ef4b160f628b9aa (patch)
treeefccf9c68cd39862bd1cd905dd2f81329f607d0a /engines
parente0e7790dfb4f86936b297a8479c71d4eb456e46b (diff)
downloadscummvm-rg350-c809a65b93d23aa30296f7f22ef4b160f628b9aa.tar.gz
scummvm-rg350-c809a65b93d23aa30296f7f22ef4b160f628b9aa.tar.bz2
scummvm-rg350-c809a65b93d23aa30296f7f22ef4b160f628b9aa.zip
SCUMM: Fix Russian Zak
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/charset-fontdata.cpp4
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);