diff options
author | Colin Snover | 2016-07-31 13:41:05 -0500 |
---|---|---|
committer | Colin Snover | 2016-08-19 13:57:40 -0500 |
commit | 80d9182554bcc6b24b493510cf599baf7577dacc (patch) | |
tree | 5312e7e6996e5ccf66932dde2fb8706cb6ba1535 /engines/sci/engine/kevent.cpp | |
parent | 9bfeb3c297a7868c53d4c37775148067d72f44c0 (diff) | |
download | scummvm-rg350-80d9182554bcc6b24b493510cf599baf7577dacc.tar.gz scummvm-rg350-80d9182554bcc6b24b493510cf599baf7577dacc.tar.bz2 scummvm-rg350-80d9182554bcc6b24b493510cf599baf7577dacc.zip |
SCI32: Implement SCI32 cursor support
Diffstat (limited to 'engines/sci/engine/kevent.cpp')
-rw-r--r-- | engines/sci/engine/kevent.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp index d7a716a504..56ee2f594c 100644 --- a/engines/sci/engine/kevent.cpp +++ b/engines/sci/engine/kevent.cpp @@ -86,11 +86,14 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) { #ifdef ENABLE_SCI32 if (getSciVersion() >= SCI_VERSION_2) mousePos = curEvent.mousePosSci; - else + else { #endif mousePos = curEvent.mousePos; - // Limit the mouse cursor position, if necessary - g_sci->_gfxCursor->refreshPosition(); + // Limit the mouse cursor position, if necessary + g_sci->_gfxCursor->refreshPosition(); +#ifdef ENABLE_SCI32 + } +#endif if (g_sci->getVocabulary()) g_sci->getVocabulary()->parser_event = NULL_REG; // Invalidate parser event |