aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-15 07:46:52 +0000
committerMartin Kiewitz2009-10-15 07:46:52 +0000
commit3e7eb5089c242865a3e579024c30566253d0ed41 (patch)
treed96faf218963736372ee06d656ef1e1d5436049a /engines/sci
parent1fe5233c311167804884f93799e68074ab4ae5f3 (diff)
downloadscummvm-rg350-3e7eb5089c242865a3e579024c30566253d0ed41.tar.gz
scummvm-rg350-3e7eb5089c242865a3e579024c30566253d0ed41.tar.bz2
scummvm-rg350-3e7eb5089c242865a3e579024c30566253d0ed41.zip
SCI/newgui: within transitions mouse cursor is now hidden
svn-id: r45104
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 348c596f06..f8e083b2ca 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -500,11 +500,11 @@ void SciGui::animateShowPic() {
GuiPort *picPort = _windowMgr->_picWind;
Common::Rect picRect = picPort->rect;
+ _cursor->hide();
// Adjust picRect to become relative to screen
picRect.translate(picPort->left, picPort->top);
- //picRect.top += picPort->top; picRect.bottom += picPort->top;
- //picRect.left += picPort->left; picRect.right += picPort->left;
_transitions->doit(picRect);
+ _cursor->show();
}
void SciGui::animate(reg_t listReference, bool cycle, int argc, reg_t *argv) {