aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-12 10:34:31 +0000
committerMartin Kiewitz2009-10-12 10:34:31 +0000
commit9ae7935a1d3311821e8fc3086471d64719e050aa (patch)
tree98e46387b78e2687365b2eaf9579559d825252ed /engines
parent50faafc6227ab0a53b05ecb3a6b2223e903386cb (diff)
downloadscummvm-rg350-9ae7935a1d3311821e8fc3086471d64719e050aa.tar.gz
scummvm-rg350-9ae7935a1d3311821e8fc3086471d64719e050aa.tar.bz2
scummvm-rg350-9ae7935a1d3311821e8fc3086471d64719e050aa.zip
SCI/newgui: kDrawControl (icon) now also calls BitsShow()
svn-id: r44975
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 915c52cc76..46b68257db 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -377,6 +377,8 @@ void SciGui::drawControlIcon(Common::Rect rect, reg_t obj, GuiResourceId viewId,
if (style & 0x20) {
_gfx->FrameRect(rect);
}
+ if (!_screen->_picNotValid)
+ _gfx->BitsShow(rect);
} else {
_gfx->InvertRect(rect);
_gfx->BitsShow(rect);