diff options
author | Florian Kagerer | 2009-09-26 13:17:11 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-09-26 13:17:11 +0000 |
commit | 84accad507657e636789d23fe457dca6f3447c23 (patch) | |
tree | d62a53d0c146fd61e4fdefe435a0d81f822f4b45 /engines/kyra/text_lol.cpp | |
parent | e46029e8c614c2f18419691baf1ff3b9fd40e95d (diff) | |
download | scummvm-rg350-84accad507657e636789d23fe457dca6f3447c23.tar.gz scummvm-rg350-84accad507657e636789d23fe457dca6f3447c23.tar.bz2 scummvm-rg350-84accad507657e636789d23fe457dca6f3447c23.zip |
LOL/PC-98: start fixing sequences (like broken arms inn and king richard getting poisoned)
svn-id: r44375
Diffstat (limited to 'engines/kyra/text_lol.cpp')
-rw-r--r-- | engines/kyra/text_lol.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp index 23a9283b4e..732f97f749 100644 --- a/engines/kyra/text_lol.cpp +++ b/engines/kyra/text_lol.cpp @@ -788,7 +788,12 @@ void TextDisplayer_LoL::textPageBreak() { void TextDisplayer_LoL::clearCurDim() { int d = _screen->curDimIndex(); const ScreenDim *tmp = _screen->getScreenDim(_screen->curDimIndex()); - _screen->fillRect(tmp->sx << 3, tmp->sy, ((tmp->sx + tmp->w) << 3) - 1, (tmp->sy + tmp->h) - 1, _textDimData[d].color2); + if (_vm->gameFlags().use16ColorMode) { + _screen->fillRect(tmp->sx << 3, tmp->sy, ((tmp->sx + tmp->w) << 3) - 2, (tmp->sy + tmp->h) - 2, _textDimData[d].color2); + } else { + _screen->fillRect(tmp->sx << 3, tmp->sy, ((tmp->sx + tmp->w) << 3) - 1, (tmp->sy + tmp->h) - 1, _textDimData[d].color2); + } + _lineCount = 0; _textDimData[d].column = _textDimData[d].line = 0; } |