diff options
author | Johannes Schickel | 2011-12-13 16:15:04 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-12-13 16:18:12 +0100 |
commit | efa52cb79c35a78e624f42e4ab919c6016bdadcf (patch) | |
tree | 6b5d38898be5c5080d640d6e7e3a2dd691f8fb33 | |
parent | 1b11139dc53da2dc95f74eb19e3a903d7d786f84 (diff) | |
download | scummvm-rg350-efa52cb79c35a78e624f42e4ab919c6016bdadcf.tar.gz scummvm-rg350-efa52cb79c35a78e624f42e4ab919c6016bdadcf.tar.bz2 scummvm-rg350-efa52cb79c35a78e624f42e4ab919c6016bdadcf.zip |
KYRA: Fix for bug #3459000 "KYRA1CD: Accented characters overdrawn in introduction".
-rw-r--r-- | engines/kyra/seqplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/seqplayer.cpp b/engines/kyra/seqplayer.cpp index 531d864293..1bdcde5177 100644 --- a/engines/kyra/seqplayer.cpp +++ b/engines/kyra/seqplayer.cpp @@ -624,7 +624,7 @@ bool SeqPlayer::playSequence(const uint8 *seqData, bool skipSeq) { if (_vm->gameFlags().lang == Common::JA_JPN) charStr[1] = _vm->seqTextsTable()[_seqDisplayedText][++_seqDisplayedChar]; _screen->printText(charStr, _seqDisplayedTextX, 180, 0xF, 0xC); - _seqDisplayedTextX += _screen->getCharWidth(charStr[0]); + _seqDisplayedTextX += _screen->getCharWidth((uint8)charStr[0]); ++_seqDisplayedChar; if (_vm->seqTextsTable()[_seqDisplayedText][_seqDisplayedChar] == '\0') |