intermission w/o game activity

This commit is contained in:
flowtron
2022-05-07 12:36:50 +02:00
parent 48894de6cd
commit 589baa165e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ VARP(localfootsteps, 0, 1, 1);
void audiomanager::updateplayerfootsteps(playerent *p)
{
if(!p || ispaused) return;
if(!p || ispaused || intermission) return;
const int footstepradius = 20;
+1 -1
View File
@@ -51,7 +51,7 @@ void checkweaponswitch()
void selectweapon(weapon *w)
{
if(!w || !player1->weaponsel->deselectable() || ispaused) return;
if(!w || !player1->weaponsel->deselectable() || ispaused || intermission) return;
if(w->selectable())
{
if(player1->attacking && player1->state == CS_ALIVE) attack(false);