From 84accad507657e636789d23fe457dca6f3447c23 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sat, 26 Sep 2009 13:17:11 +0000 Subject: LOL/PC-98: start fixing sequences (like broken arms inn and king richard getting poisoned) svn-id: r44375 --- engines/kyra/text_lol.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/kyra/text_lol.cpp') 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; } -- cgit v1.2.3