aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kevent.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-04 12:19:05 +0000
committerFilippos Karapetis2009-11-04 12:19:05 +0000
commit12e3375f3b47e6e626d8457257fd2036ed835ab1 (patch)
treed750bc29a6db7bc4443e7d60e2c23509bf95119f /engines/sci/engine/kevent.cpp
parenteffdfcd4b8c92475d41a15cefbfd711724280924 (diff)
downloadscummvm-rg350-12e3375f3b47e6e626d8457257fd2036ed835ab1.tar.gz
scummvm-rg350-12e3375f3b47e6e626d8457257fd2036ed835ab1.tar.bz2
scummvm-rg350-12e3375f3b47e6e626d8457257fd2036ed835ab1.zip
Removed the reference to SciGuiCursor from EngineState
svn-id: r45660
Diffstat (limited to 'engines/sci/engine/kevent.cpp')
-rw-r--r--engines/sci/engine/kevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index f7f01d9a6e..34fba22de1 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -43,7 +43,7 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) {
int oldx, oldy;
int modifier_mask = getSciVersion() <= SCI_VERSION_01 ? SCI_EVM_ALL : SCI_EVM_NO_FOOLOCK;
SegManager *segMan = s->_segMan;
- const Common::Point mousePos = s->_cursor->getPosition();
+ const Common::Point mousePos = s->_gui->getCursorPos();
// If there's a simkey pending, and the game wants a keyboard event, use the
// simkey instead of a normal event