aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-04 12:55:53 +0000
committerMartin Kiewitz2009-12-04 12:55:53 +0000
commit43abd8d2e9f1e6dee97052397d7dddc6f028ff46 (patch)
tree5cfe9e7143a28f87beb33c7a67d32ef786d109db /engines/sci/gui
parente149a88b990bfad8d65e4780f22435d63e2c1f01 (diff)
downloadscummvm-rg350-43abd8d2e9f1e6dee97052397d7dddc6f028ff46.tar.gz
scummvm-rg350-43abd8d2e9f1e6dee97052397d7dddc6f028ff46.tar.bz2
scummvm-rg350-43abd8d2e9f1e6dee97052397d7dddc6f028ff46.zip
SCI: Fixed kSetCursor (fixes qfg1vga menu immediately disappearing after opening)
svn-id: r46248
Diffstat (limited to 'engines/sci/gui')
-rw-r--r--engines/sci/gui/gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 2cc361f348..28d6a35064 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -761,14 +761,14 @@ void SciGui::moveCursor(Common::Point pos) {
if (pos.x > _screen->_width || pos.y > _screen->_height) {
warning("attempt to place cursor at invalid coordinates (%d, %d)", pos.y, pos.x);
- return; // Not fatal
+ return;
}
_cursor->setPosition(pos);
+
// Trigger event reading to make sure the mouse coordinates will
// actually have changed the next time we read them.
- //gfxop_get_event(_s->gfx_state, SCI_EVT_PEEK);
- // FIXME!
+ gfxop_get_event(_s->gfx_state, SCI_EVT_PEEK);
}
void SciGui::setCursorZone(Common::Rect zone) {