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

Loading…
Cancel
Save