Skip to content

Commit

Permalink
Remove NOAUTOFIRE check from wrong spot (MBF21)
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Sep 21, 2024
1 parent 460db64 commit cd3f07d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source_files/edge/p_weapon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,6 @@ static bool WeaponCouldAutoFire(Player *p, int idx, int ATK, bool skip_ammo_chec
if (!info->attack_state_[ATK])
return false;

// MBF21 NOAUTOFIRE flag
if (info->specials_[ATK] & WeaponFlagNoAutoFire)
return false;

if (skip_ammo_check)
return true;

Expand Down

0 comments on commit cd3f07d

Please sign in to comment.