mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-26 22:55:41 +03:00
mp_infinite_ammo 1: Fixed grenade throw
This commit is contained in:
parent
8ec88f804d
commit
29a94ddbb8
@ -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…
Reference in New Issue
Block a user