Merge pull request #11 from ScatterBox/main

This commit is contained in:
Ian 2023-01-15 16:36:54 -05:00 committed by GitHub
commit c703cd1ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1322,7 +1322,7 @@ void HUD_Weapon (void)
void HUD_Draw (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; return;
} }

View file

@ -1446,7 +1446,7 @@ Draw_Crosshair
extern qboolean paused_hack; extern qboolean paused_hack;
void SCR_DrawCrosshair (void) 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; return;
} }
#ifdef VITA #ifdef VITA