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 ) { diff --git a/src/game/shared/baseentity_shared.cpp b/src/game/shared/baseentity_shared.cpp index 47409a932..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() )