From e773ccdf6b809bf39c7a77194a3384961427175a Mon Sep 17 00:00:00 2001 From: AdamTadeusz Date: Tue, 13 Jan 2026 10:34:26 +0000 Subject: [PATCH 1/3] init --- src/game/client/hl2mp/c_hl2mp_player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/client/hl2mp/c_hl2mp_player.cpp b/src/game/client/hl2mp/c_hl2mp_player.cpp index dc77c0e50..fa0a7884b 100644 --- a/src/game/client/hl2mp/c_hl2mp_player.cpp +++ b/src/game/client/hl2mp/c_hl2mp_player.cpp @@ -261,6 +261,7 @@ void C_HL2MP_Player::TraceAttack( const CTakeDamageInfo &info, const Vector &vec int blood = BloodColor(); +#ifndef NEO CBaseEntity *pAttacker = info.GetAttacker(); if ( pAttacker ) @@ -268,6 +269,7 @@ void C_HL2MP_Player::TraceAttack( const CTakeDamageInfo &info, const Vector &vec if ( HL2MPRules()->IsTeamplay() && pAttacker->InSameTeam( this ) == true ) return; } +#endif // NEO if ( blood != DONT_BLEED ) { From 807854d54d094e6fcf0a9836bcf6d25e46ac8bb2 Mon Sep 17 00:00:00 2001 From: AdamTadeusz Date: Thu, 22 Jan 2026 12:27:43 +0000 Subject: [PATCH 2/3] decals too --- src/game/shared/baseentity_shared.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/shared/baseentity_shared.cpp b/src/game/shared/baseentity_shared.cpp index 47409a932..0d6da07a5 100644 --- a/src/game/shared/baseentity_shared.cpp +++ b/src/game/shared/baseentity_shared.cpp @@ -2023,6 +2023,11 @@ void CBaseEntity::FireBullets( const FireBulletsInfo_t &info ) } else { +#if defined NEO && defined HL2MP && defined GAME_DLL + // NEO NOTE (Adam) bDoImpacts emits "impact effects", temporary particles when a surface is hit. TE_HL2MPFireBullets doesn't transmit decals + // to other clients, need to do DoImpactEffects on server regardless of bDoServerEffects to transmit blood decals to other players + DoImpactEffect(tr, nDamageType); +#endif // NEO && HL2MP && GAME_DLL bDoImpacts = true; } } From 5727f2870fc40d6f053ac7bd67ff722a29865ae4 Mon Sep 17 00:00:00 2001 From: AdamTadeusz Date: Fri, 23 Jan 2026 16:04:11 +0000 Subject: [PATCH 3/3] all you have to do --- src/game/shared/baseentity_shared.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/game/shared/baseentity_shared.cpp b/src/game/shared/baseentity_shared.cpp index 0d6da07a5..1f3a40f3b 100644 --- a/src/game/shared/baseentity_shared.cpp +++ b/src/game/shared/baseentity_shared.cpp @@ -1654,9 +1654,11 @@ void CBaseEntity::FireBullets( const FireBulletsInfo_t &info ) bool bDoServerEffects = true; +#ifndef NEO #if defined( HL2MP ) && defined( GAME_DLL ) bDoServerEffects = false; #endif +#endif // NEO #if defined( GAME_DLL ) if( IsPlayer() ) @@ -2023,11 +2025,6 @@ void CBaseEntity::FireBullets( const FireBulletsInfo_t &info ) } else { -#if defined NEO && defined HL2MP && defined GAME_DLL - // NEO NOTE (Adam) bDoImpacts emits "impact effects", temporary particles when a surface is hit. TE_HL2MPFireBullets doesn't transmit decals - // to other clients, need to do DoImpactEffects on server regardless of bDoServerEffects to transmit blood decals to other players - DoImpactEffect(tr, nDamageType); -#endif // NEO && HL2MP && GAME_DLL bDoImpacts = true; } }