From 128f5098e097799d6e7852d204cdff1bb007d496 Mon Sep 17 00:00:00 2001 From: staphen Date: Sat, 4 Jun 2022 20:39:05 -0400 Subject: [PATCH] Check player hitpoints in InGameMenu() --- Source/controls/plrctrls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/controls/plrctrls.cpp b/Source/controls/plrctrls.cpp index 7e4ecdb42..147210b0e 100644 --- a/Source/controls/plrctrls.cpp +++ b/Source/controls/plrctrls.cpp @@ -60,7 +60,7 @@ bool InGameMenu() || qtextflag || gmenu_is_active() || PauseMode == 2 - || MyPlayer->_pInvincible; + || (MyPlayer->_pInvincible && MyPlayer->_pHitPoints == 0); } namespace {