aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-22 17:38:49 +0000
committerTorbjörn Andersson2003-12-22 17:38:49 +0000
commit1605103a066ae458b95c5a7ad130ca7b130a32ce (patch)
tree6965f4197fd5d8ae44ab50997881f78c67cf1659 /sword1
parent7fec7cc1aeb3bcbdfb6c2d3dcbc614bb17742eb3 (diff)
downloadscummvm-rg350-1605103a066ae458b95c5a7ad130ca7b130a32ce.tar.gz
scummvm-rg350-1605103a066ae458b95c5a7ad130ca7b130a32ce.tar.bz2
scummvm-rg350-1605103a066ae458b95c5a7ad130ca7b130a32ce.zip
Change to arrow cursor when displaying the inventory menu
svn-id: r11854
Diffstat (limited to 'sword1')
-rw-r--r--sword1/menu.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/sword1/menu.cpp b/sword1/menu.cpp
index 9ac2201937..27c84fde67 100644
--- a/sword1/menu.cpp
+++ b/sword1/menu.cpp
@@ -291,12 +291,15 @@ void SwordMenu::fnStartMenu(void) {
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
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) {