Skip to content

Commit

Permalink
game: Don't display shot effects on the stunned status
Browse files Browse the repository at this point in the history
  • Loading branch information
LegendaryGuard committed Aug 17, 2024
1 parent ec2085f commit 4511a38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/game/bg_pmove.c
Original file line number Diff line number Diff line change
Expand Up @@ -2444,6 +2444,8 @@ static void PM_HitStun( void ) { // BFP - Hit stun
pm->ps->powerups[PW_FLIGHT] = 0;
pm->ps->powerups[PW_HASTE] = 0;
pm->ps->pm_flags &= ~PMF_KI_ATTACK;
// don't display shot effects on the stunned status
pm->ps->eFlags &= ~EF_FIRING;
pm->ps->eFlags &= ~EF_AURA;
pm->ps->weaponstate = WEAPON_READY;

Expand Down

0 comments on commit 4511a38

Please sign in to comment.