From 320eaae790f7469d7a7f7973bf107515985e2976 Mon Sep 17 00:00:00 2001 From: CommonLoon102 <321850+CommonLoon102@users.noreply.github.com> Date: Sun, 6 Oct 2019 10:04:02 +0000 Subject: [PATCH] Fix F8 (#207) --- source/blood/src/blood.cpp | 5 +++-- source/blood/src/menu.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index 433a8bf74..1d1f1d5f8 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -904,8 +904,9 @@ void LocalKeys(void) break; case sc_F8: keyFlushScans(); - gGameMenuMgr.Push(&menuOptions,-1); - break; + if (!gGameMenuMgr.m_bActive) + gGameMenuMgr.Push(&menuOptionsDisplayMode, -1); + return; case sc_F9: keyFlushScans(); DoQuickLoad(); diff --git a/source/blood/src/menu.h b/source/blood/src/menu.h index ba93750a9..786095574 100644 --- a/source/blood/src/menu.h +++ b/source/blood/src/menu.h @@ -50,6 +50,7 @@ extern CGameMenu menuSorry2; extern CGameMenu menuOptions; extern CGameMenu menuOptionsSound; +extern CGameMenu menuOptionsDisplayMode; extern short gQuickLoadSlot; extern short gQuickSaveSlot; extern char strRestoreGameStrings[][16];