Browse Source

Allow incresed charger capacity in coop

gravgun
mittorn 8 years ago
parent
commit
d627ff1528
  1. 5
      dlls/multiplay_gamerules.cpp

5
dlls/multiplay_gamerules.cpp

@ -265,6 +265,7 @@ void CHalfLifeMultiplay::RefreshSkillData( void ) @@ -265,6 +265,7 @@ void CHalfLifeMultiplay::RefreshSkillData( void )
// override some values for multiplay.
// suitcharger
if( !mp_coop.value )
gSkillData.suitchargerCapacity = 30;
// Crowbar whack
@ -1296,12 +1297,12 @@ Vector CHalfLifeMultiplay::VecAmmoRespawnSpot( CBasePlayerAmmo *pAmmo ) @@ -1296,12 +1297,12 @@ Vector CHalfLifeMultiplay::VecAmmoRespawnSpot( CBasePlayerAmmo *pAmmo )
//=========================================================
float CHalfLifeMultiplay::FlHealthChargerRechargeTime( void )
{
return 60;
return cvar_iresptime.value * 2;
}
float CHalfLifeMultiplay::FlHEVChargerRechargeTime( void )
{
return 30;
return cvar_iresptime.value;
}
//=========================================================

Loading…
Cancel
Save