mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-01-25 00:32:37 +01:00
Allow impulse 101 on caber
Allow WeaponRegenerate() to work on all weapons not just EnergyWeapons(). This allows to use impulse 101 on caber.
This commit is contained in:
@@ -14763,10 +14763,7 @@ void CTFPlayer::CheatImpulseCommands( int iImpulse )
|
||||
|
||||
pWeapon->GiveDefaultAmmo();
|
||||
|
||||
if ( pWeapon->IsEnergyWeapon() )
|
||||
{
|
||||
pWeapon->WeaponRegenerate();
|
||||
}
|
||||
pWeapon->WeaponRegenerate();
|
||||
}
|
||||
|
||||
m_Shared.m_flRageMeter = 100.f;
|
||||
|
||||
Reference in New Issue
Block a user