mirror of
https://github.com/nzp-team/quakespasm.git
synced 2025-04-24 01:31:41 +00:00
Fix HUD showing in transition from Pause Menu to Main Menu
This commit is contained in:
parent
9a90e1ac96
commit
9b66d23c0f
2 changed files with 2 additions and 2 deletions
|
@ -1322,7 +1322,7 @@ void HUD_Weapon (void)
|
|||
|
||||
|
||||
void HUD_Draw (void) {
|
||||
if (key_dest == key_menu_pause || paused_hack == true) {
|
||||
if (key_dest == key_menu_pause || paused_hack == true || m_state == m_exit) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1446,7 +1446,7 @@ Draw_Crosshair
|
|||
extern qboolean paused_hack;
|
||||
void SCR_DrawCrosshair (void)
|
||||
{
|
||||
if (cl.stats[STAT_HEALTH] < 20 || paused_hack == true) {
|
||||
if (cl.stats[STAT_HEALTH] < 20 || paused_hack == true || m_state == m_exit) {
|
||||
return;
|
||||
}
|
||||
#ifdef VITA
|
||||
|
|
Loading…
Reference in a new issue