mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
CHEWY: Fix cursor disappearing using fn keys whilst menu open
This commit is contained in:
parent
aad30dbae2
commit
08da901e6a
@ -280,6 +280,7 @@ void Inventory::menu() {
|
||||
if (!menuFirstFl) {
|
||||
_G(cur)->show_cur();
|
||||
while (_G(in)->getSwitchCode() == Common::KEYCODE_ESCAPE) {
|
||||
SHOULD_QUIT_RETURN;
|
||||
setupScreen(NO_SETUP);
|
||||
inv_rand_x = -1;
|
||||
inv_rand_y = -1;
|
||||
|
@ -210,6 +210,7 @@ bool mainLoop(int16 mode) {
|
||||
case Common::KEYCODE_F1:
|
||||
_G(gameState).inv_cur = false;
|
||||
_G(menu_item) = CUR_WALK;
|
||||
_G(cur)->show_cur();
|
||||
cursorChoice(_G(menu_item));
|
||||
if (_G(menu_display) == MENU_DISPLAY)
|
||||
_G(menu_display) = MENU_HIDE;
|
||||
@ -218,6 +219,7 @@ bool mainLoop(int16 mode) {
|
||||
case Common::KEYCODE_F2:
|
||||
_G(gameState).inv_cur = false;
|
||||
_G(menu_item) = CUR_USE;
|
||||
_G(cur)->show_cur();
|
||||
cursorChoice(_G(menu_item));
|
||||
if (_G(menu_display) == MENU_DISPLAY)
|
||||
_G(menu_display) = MENU_HIDE;
|
||||
@ -226,6 +228,7 @@ bool mainLoop(int16 mode) {
|
||||
case Common::KEYCODE_F3:
|
||||
_G(gameState).inv_cur = false;
|
||||
_G(menu_item) = CUR_LOOK;
|
||||
_G(cur)->show_cur();
|
||||
cursorChoice(_G(menu_item));
|
||||
if (_G(menu_display) == MENU_DISPLAY)
|
||||
_G(menu_display) = MENU_HIDE;
|
||||
@ -234,6 +237,7 @@ bool mainLoop(int16 mode) {
|
||||
case Common::KEYCODE_F4:
|
||||
_G(gameState).inv_cur = false;
|
||||
_G(menu_item) = CUR_TALK;
|
||||
_G(cur)->show_cur();
|
||||
cursorChoice(_G(menu_item));
|
||||
if (_G(menu_display) == MENU_DISPLAY)
|
||||
_G(menu_display) = MENU_HIDE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user