summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/mn_menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index 94f6b1a3..4c887152 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1723,7 +1723,10 @@ void MN_ActivateMenu(void)
void MN_DeactivateMenu(void)
{
- CurrentMenu->oldItPos = CurrentItPos;
+ if (CurrentMenu != NULL)
+ {
+ CurrentMenu->oldItPos = CurrentItPos;
+ }
MenuActive = false;
if (!netgame)
{