diff options
-rw-r--r-- | engines/sci/gui/gui_view.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_view.cpp b/engines/sci/gui/gui_view.cpp index a5bc5ff648..10dce2314c 100644 --- a/engines/sci/gui/gui_view.cpp +++ b/engines/sci/gui/gui_view.cpp @@ -476,11 +476,12 @@ void SciGuiView::draw(Common::Rect rect, Common::Rect clipRect, Common::Rect cli for (y = clipRectTranslated.top; y < clipRectTranslated.top + height; y++, bitmap += celWidth) { for (x = 0; x < width; x++) { color = bitmap[x]; - if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y)) + if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y)) { if (origHeight == -1) _screen->putPixel(clipRectTranslated.left + x, y, drawMask, palette->mapping[color], priority, 0); else _screen->putPixelOnDisplay(clipRectTranslated.left + x, y, palette->mapping[color]); + } } } } else { |