Skip to content

Commit 94fdfd4

Browse files
committed
perf: enable rate limiting water bullet impact effects
1 parent ed58eae commit 94fdfd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/game/shared/tf/tf_player_shared.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10095,8 +10095,8 @@ void CTFPlayer::FireBullet( CTFWeaponBase *pWpn, const FireBulletsInfo_t &info,
1009510095
}
1009610096

1009710097
#ifdef CLIENT_DLL
10098-
static ConVar tf_impactwatertimeenable( "tf_impactwatertimeenable", "0", FCVAR_CHEAT, "Draw impact debris effects." );
10099-
static ConVar tf_impactwatertime( "tf_impactwatertime", "1.0f", FCVAR_CHEAT, "Draw impact debris effects." );
10098+
static ConVar tf_impactwatertimeenable( "tf_impactwatertimeenable", "1", 0, "Rate limit bullet impact effects on water." );
10099+
static ConVar tf_impactwatertime( "tf_impactwatertime", "0.2f", 0, "The interval between bullet impact effects on water." );
1010010100
#endif
1010110101

1010210102
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)