Skip to content

Commit

Permalink
same for c4
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaqtincha committed Oct 6, 2019
1 parent 935b5a0 commit 22dc93a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regamedll/dlls/wpn_shared/wpn_c4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ void CC4::PrimaryAttack()
if (--m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0)
{
RetireWeapon();
#ifdef REGAMEDLL_FIXES
DestroyItem();
#endif
return;
}
}
Expand Down

0 comments on commit 22dc93a

Please sign in to comment.