diff options
author | Paul Gilbert | 2014-04-28 21:33:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-28 21:33:31 -0400 |
commit | 82933592ff152138a539864fde80705d391bc25e (patch) | |
tree | 9adbc67290383f05d32b26d2563e569fac1019c6 /engines/mads/scene.cpp | |
parent | ad93617aa7d9dd01a6fa6bb20e162ed916665b51 (diff) | |
download | scummvm-rg350-82933592ff152138a539864fde80705d391bc25e.tar.gz scummvm-rg350-82933592ff152138a539864fde80705d391bc25e.tar.bz2 scummvm-rg350-82933592ff152138a539864fde80705d391bc25e.zip |
MADS: Fix original engine bug with highlighted hotspots between scenes
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r-- | engines/mads/scene.cpp | 5 |
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]; |