aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index 545ee03fd0..f4b2cb1ec8 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -184,7 +184,8 @@ void Scene::loadScene(int sceneId, const Common::String &prefix, bool palFlag) {
_spritesCount = _sprites.size();
_userInterface.setup(_vm->_game->_screenObjects._inputMode);
-
+
+ _vm->_game->_screenObjects._category = CAT_NONE;
_vm->_events->showCursor();
warning("TODO: inventory_anim_allocate");
@@ -608,7 +609,7 @@ void Scene::updateCursor() {
Player &player = _vm->_game->_player;
CursorType cursorId = CURSOR_ARROW;
- if (_action._interAwaiting == 1 && !_vm->_events->_rightMousePressed &&
+ if (_action._interAwaiting == AWAITING_COMMAND && !_vm->_events->_rightMousePressed &&
_vm->_game->_screenObjects._category == CAT_HOTSPOT) {
int idx = _vm->_game->_screenObjects._selectedObject -
_userInterface._categoryIndexes[CAT_HOTSPOT - 1];