diff options
author | Torbjörn Andersson | 2009-10-31 18:12:19 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-10-31 18:12:19 +0000 |
commit | d5421d93d4b1a23aaaf552c60d334857714d377b (patch) | |
tree | dcd13e90d85025c30bccc56b8e3bf72b946ff7d6 /engines/sci | |
parent | cda9b293fdc9310f788adb51ff8372448ca58237 (diff) | |
download | scummvm-rg350-d5421d93d4b1a23aaaf552c60d334857714d377b.tar.gz scummvm-rg350-d5421d93d4b1a23aaaf552c60d334857714d377b.tar.bz2 scummvm-rg350-d5421d93d4b1a23aaaf552c60d334857714d377b.zip |
Silenced GCC warning.
svn-id: r45570
Diffstat (limited to 'engines/sci')
-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 { |