diff options
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/menu.cpp | 6 | ||||
-rw-r--r-- | sword1/mouse.cpp | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sword1/menu.cpp b/sword1/menu.cpp index 6d0b281fa5..451325106d 100644 --- a/sword1/menu.cpp +++ b/sword1/menu.cpp @@ -299,17 +299,13 @@ void SwordMenu::fnStartMenu(void) { SwordLogic::_scriptVars[OBJECT_HELD] = 0; // icon no longer selected SwordLogic::_scriptVars[SECOND_ITEM] = 0; // second icon no longer selected (after using one on another) SwordLogic::_scriptVars[MENU_LOOKING] = 0; // no longer 'looking at' an icon - _mouse->setLuggage(0, 0); buildMenu(); - _mouse->controlPanel(true); // so that the arrow cursor will be shown. showMenu(MENU_TOP); } void SwordMenu::fnEndMenu(void) { - if (_objectBarStatus != MENU_CLOSED) { + if (_objectBarStatus != MENU_CLOSED) _objectBarStatus = MENU_CLOSING; - _mouse->controlPanel(false); - } } void SwordMenu::fnChooser(BsObject *compact) { diff --git a/sword1/mouse.cpp b/sword1/mouse.cpp index 2021fdfbc8..26fd07fde1 100644 --- a/sword1/mouse.cpp +++ b/sword1/mouse.cpp @@ -102,8 +102,10 @@ void SwordMouse::engine(uint16 x, uint16 y, uint16 eventFlags) { if (!SwordLogic::_scriptVars[TOP_MENU_DISABLED]) { if (y < 40) { // okay, we are in the top menu. - if (!_inTopMenu) // are we just entering it? + if (!_inTopMenu) { // are we just entering it? _menu->fnStartMenu(); + setPointer(MSE_POINTER, 0); + } _menu->checkTopMenu(); _inTopMenu = true; } else if (_inTopMenu) { // we're not in the menu. did we just leave it? |