diff options
author | Florian Kagerer | 2009-09-26 18:25:36 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-09-26 18:25:36 +0000 |
commit | 5d17bae1208012d3f8213ac43d10481a6776c2f7 (patch) | |
tree | 3e59807a5c1a916f5cb94196f25f464f26fe7e9b /engines/kyra/text_lol.cpp | |
parent | eb24b8e4552bd1459d5340514593fab78ddcb58e (diff) | |
download | scummvm-rg350-5d17bae1208012d3f8213ac43d10481a6776c2f7.tar.gz scummvm-rg350-5d17bae1208012d3f8213ac43d10481a6776c2f7.tar.bz2 scummvm-rg350-5d17bae1208012d3f8213ac43d10481a6776c2f7.zip |
LOL/PC-98: more fixes for text displayer and character inventory
svn-id: r44380
Diffstat (limited to 'engines/kyra/text_lol.cpp')
-rw-r--r-- | engines/kyra/text_lol.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp index 732f97f749..384681987b 100644 --- a/engines/kyra/text_lol.cpp +++ b/engines/kyra/text_lol.cpp @@ -787,12 +787,11 @@ void TextDisplayer_LoL::textPageBreak() { void TextDisplayer_LoL::clearCurDim() { int d = _screen->curDimIndex(); - const ScreenDim *tmp = _screen->getScreenDim(_screen->curDimIndex()); + const ScreenDim *tmp = _screen->getScreenDim(d); 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 { + } 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; |