SCUMM: Fix subtitles for Russian The Dig
It is a long standing bug which was revealed by r31784. With that commit Kirben switched DIG code to newer one. Russian version used 0x03 as placeholders for keeping string widths. Original did not copy those characters but we did hence the bug. Based on study of original. Restrict it to Dig-only in order to avoid regressions. svn-id: r51211
This commit is contained in:
parent
20b1d80d59
commit
11a17b3908
1 changed files with 2 additions and 0 deletions
|
@ -1110,6 +1110,8 @@ int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize)
|
|||
}
|
||||
num += (_game.version == 8) ? 4 : 2;
|
||||
}
|
||||
} else if (_game.id == GID_DIG && (chr == 1 || chr == 2 || chr == 3 || chr == 8)) {
|
||||
// Skip these characters
|
||||
} else {
|
||||
if (!(chr == '@') || (_game.id == GID_CMI && _language == Common::ZH_TWN) ||
|
||||
(_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine && _language == Common::JA_JPN))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue