KYRA: Fix for bug #3459000 "KYRA1CD: Accented characters overdrawn in introduction".

(cherry picked from commit efa52cb79c)
This commit is contained in:
Johannes Schickel 2011-12-13 16:15:04 +01:00
parent 482767c308
commit 8604eba95b

View file

@ -624,7 +624,7 @@ bool SeqPlayer::playSequence(const uint8 *seqData, bool skipSeq) {
if (_vm->gameFlags().lang == Common::JA_JPN) if (_vm->gameFlags().lang == Common::JA_JPN)
charStr[1] = _vm->seqTextsTable()[_seqDisplayedText][++_seqDisplayedChar]; charStr[1] = _vm->seqTextsTable()[_seqDisplayedText][++_seqDisplayedChar];
_screen->printText(charStr, _seqDisplayedTextX, 180, 0xF, 0xC); _screen->printText(charStr, _seqDisplayedTextX, 180, 0xF, 0xC);
_seqDisplayedTextX += _screen->getCharWidth(charStr[0]); _seqDisplayedTextX += _screen->getCharWidth((uint8)charStr[0]);
++_seqDisplayedChar; ++_seqDisplayedChar;
if (_vm->seqTextsTable()[_seqDisplayedText][_seqDisplayedChar] == '\0') if (_vm->seqTextsTable()[_seqDisplayedText][_seqDisplayedChar] == '\0')