From e212d011b12e376206f1e80d1767f163c10974cf Mon Sep 17 00:00:00 2001 From: Trico Everfire Date: Mon, 10 Mar 2025 21:38:38 +0100 Subject: [PATCH 1/2] fix: Fix the sandman voice lines not playing as a result of an old balance change involving the removal of TF_STUN_CONTROLS --- src/game/shared/tf/tf_weapon_bat.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/shared/tf/tf_weapon_bat.cpp b/src/game/shared/tf/tf_weapon_bat.cpp index f4452d28ad0..cbb3bfc6b38 100644 --- a/src/game/shared/tf/tf_weapon_bat.cpp +++ b/src/game/shared/tf/tf_weapon_bat.cpp @@ -759,6 +759,10 @@ void CTFStunBall::ApplyBallImpactEffectOnVictim( CBaseEntity *pOther ) { pPlayer->m_Shared.StunPlayer( flStunDuration, flStunAmount, iStunFlags, pOwner ); +#ifdef GAME_DLL + pOwner->SpeakConceptIfAllowed( MP_CONCEPT_STUNNED_TARGET ); +#endif + if ( pPlayer->GetUserID() == m_iOriginalOwnerID ) { // We just stunned a scout with their own ball. From f1995a98d3fca134b66cc5d95ac11f29b6220b11 Mon Sep 17 00:00:00 2001 From: Trico Everfire <55441008+Trico-Everfire@users.noreply.github.com> Date: Tue, 11 Mar 2025 06:50:55 +0100 Subject: [PATCH 2/2] Fix indentation. Co-authored-by: skmedix <3246162+skmedix@users.noreply.github.com> --- src/game/shared/tf/tf_weapon_bat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/shared/tf/tf_weapon_bat.cpp b/src/game/shared/tf/tf_weapon_bat.cpp index cbb3bfc6b38..76b2172695b 100644 --- a/src/game/shared/tf/tf_weapon_bat.cpp +++ b/src/game/shared/tf/tf_weapon_bat.cpp @@ -760,7 +760,7 @@ void CTFStunBall::ApplyBallImpactEffectOnVictim( CBaseEntity *pOther ) pPlayer->m_Shared.StunPlayer( flStunDuration, flStunAmount, iStunFlags, pOwner ); #ifdef GAME_DLL - pOwner->SpeakConceptIfAllowed( MP_CONCEPT_STUNNED_TARGET ); + pOwner->SpeakConceptIfAllowed( MP_CONCEPT_STUNNED_TARGET ); #endif if ( pPlayer->GetUserID() == m_iOriginalOwnerID )