mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 19:12:51 +00:00
Merge 711052df70
into ceb6d4d783
This commit is contained in:
commit
7434fb3b11
2 changed files with 5 additions and 0 deletions
|
@ -185,11 +185,13 @@ void C_HL2MP_Player::TraceAttack( const CTakeDamageInfo &info, const Vector &vec
|
|||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
if ( blood != DONT_BLEED )
|
||||
{
|
||||
SpawnBlood( vecOrigin, vecDir, blood, flDistance );// a little surface blood.
|
||||
TraceBleed( flDistance, vecDir, ptr, info.GetDamageType() );
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -973,6 +973,9 @@ void CBasePlayer::TraceAttack( const CTakeDamageInfo &inputInfo, const Vector &v
|
|||
if ( bShouldBleed )
|
||||
#endif
|
||||
{
|
||||
#ifdef HL2MP
|
||||
CDisablePredictionFiltering disabler;
|
||||
#endif
|
||||
SpawnBlood(ptr->endpos, vecDir, BloodColor(), info.GetDamage());// a little surface blood.
|
||||
TraceBleed( info.GetDamage(), vecDir, ptr, info.GetDamageType() );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue