mirror of
https://github.com/rehlds/ReGameDLL_CS.git
synced 2025-08-14 18:49:38 +03:00
mp_infinite_ammo 1: Fixed grenade throw
This commit is contained in:
parent
8ec88f804d
commit
29a94ddbb8
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ void CBasePlayerWeapon::HandleInfiniteAmmo()
|
|||
if (!nInfiniteAmmo)
|
||||
nInfiniteAmmo = static_cast<int>(infiniteAmmo.value);
|
||||
|
||||
if (nInfiniteAmmo == WPNMODE_INFINITE_CLIP)
|
||||
if (nInfiniteAmmo == WPNMODE_INFINITE_CLIP && !IsGrenadeWeapon(m_iId))
|
||||
{
|
||||
m_iClip = iMaxClip();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue