Skip to content

Commit 13a7f0f

Browse files
committed
perf: enable rate limiting water bullet impact effects
1 parent 33aed66 commit 13a7f0f

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
@@ -10480,8 +10480,8 @@ void CTFPlayer::FireBullet( CTFWeaponBase *pWpn, const FireBulletsInfo_t &info,
1048010480
}
1048110481

1048210482
#ifdef CLIENT_DLL
10483-
static ConVar tf_impactwatertimeenable( "tf_impactwatertimeenable", "0", FCVAR_CHEAT, "Draw impact debris effects." );
10484-
static ConVar tf_impactwatertime( "tf_impactwatertime", "1.0f", FCVAR_CHEAT, "Draw impact debris effects." );
10483+
static ConVar tf_impactwatertimeenable( "tf_impactwatertimeenable", "1", 0, "Rate limit bullet impact effects on water." );
10484+
static ConVar tf_impactwatertime( "tf_impactwatertime", "0.2f", 0, "The interval between bullet impact effects on water." );
1048510485
#endif
1048610486

1048710487
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)