From e8c301cbe8cbb5fb518aa5bbd87b6043203228b3 Mon Sep 17 00:00:00 2001 From: The Fatcat Date: Sun, 16 Nov 2025 21:35:59 -0600 Subject: [PATCH] Increase Networked Heal Targets Maximum Clip Size Increases the maximum value that can be networked to 65535. This is already supported because code already stores and networks the clip size as an `uint16`, which is already limited between 0 and 65535. --- src/game/server/tf/tf_player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/server/tf/tf_player.cpp b/src/game/server/tf/tf_player.cpp index fa944e35611..4fc52f37bb3 100644 --- a/src/game/server/tf/tf_player.cpp +++ b/src/game/server/tf/tf_player.cpp @@ -1641,10 +1641,10 @@ void CTFPlayer::TFPlayerThink() if ( nClip >= 0 && nClip != m_nActiveWpnClipPrev ) { - if ( nClip > 500 ) + if ( nClip > 65535 ) { - Warning( "Heal Target: ClipSize Data Limit Exceeded: %d (max 500)\n", nClip ); - nClip = MIN( nClip, 500 ); + Warning( "Heal Target: ClipSize Data Limit Exceeded: %d (max 65535)\n", nClip ); + nClip = MIN( nClip, 65535 ); } m_nActiveWpnClip.Set( nClip ); m_nActiveWpnClipPrev = m_nActiveWpnClip;