diff options
author | Strangerke | 2014-12-14 23:51:01 +0100 |
---|---|---|
committer | Strangerke | 2014-12-14 23:51:01 +0100 |
commit | 66bf0ec7412949eee758c138be1f81571b1fc56d (patch) | |
tree | 2bc9479fdc389e25e947990d0a1ee8dea6c3b51e /engines/access/amazon/amazon_room.cpp | |
parent | dcc6ceb117549a68a275b5740edea5e5e02030bd (diff) | |
download | scummvm-rg350-66bf0ec7412949eee758c138be1f81571b1fc56d.tar.gz scummvm-rg350-66bf0ec7412949eee758c138be1f81571b1fc56d.tar.bz2 scummvm-rg350-66bf0ec7412949eee758c138be1f81571b1fc56d.zip |
ACCESS: Some refactoring concerning the mouse cursor
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index d6ab2bd758..10b622c738 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -87,7 +87,7 @@ void AmazonRoom::reloadRoom1() { } _selectCommand = -1; - _vm->_events->_normalMouse = CURSOR_CROSSHAIRS; + _vm->_events->setNormalCursor(CURSOR_CROSSHAIRS); _vm->_mouseMode = 0; _vm->_boxSelect = true; _vm->_player->_playerOff = false; @@ -210,8 +210,7 @@ void AmazonRoom::walkCursor() { if (_vm->_events->_middleButton || (_vm->_player->_roomNumber == 29 && events._normalMouse != CURSOR_CROSSHAIRS)) { - events._normalMouse = CURSOR_CROSSHAIRS; - events.setCursor(CURSOR_CROSSHAIRS); + events.forceSetCursor(CURSOR_CROSSHAIRS); _selectCommand = -1; _vm->_boxSelect = true; } else { |