mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25: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)
|
if (!nInfiniteAmmo)
|
||||||
nInfiniteAmmo = static_cast<int>(infiniteAmmo.value);
|
nInfiniteAmmo = static_cast<int>(infiniteAmmo.value);
|
||||||
|
|
||||||
if (nInfiniteAmmo == WPNMODE_INFINITE_CLIP)
|
if (nInfiniteAmmo == WPNMODE_INFINITE_CLIP && !IsGrenadeWeapon(m_iId))
|
||||||
{
|
{
|
||||||
m_iClip = iMaxClip();
|
m_iClip = iMaxClip();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user