Fix gibs and small objects pulling

This commit is contained in:
mittorn 2016-03-28 20:15:29 +06:00
parent 28bc8113a3
commit c99eca226f
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ CBaseEntity *CGrav::GetCrossEnt( Vector gunpos, Vector aim, float radius )
tracecount++;
TraceResult tr;
UTIL_TraceLine(gunpos, origin, missile, player, &tr);
if( ( tr.vecEndPos - gunpos ).Length() < (origin - gunpos).Length())
if( ( tr.vecEndPos - gunpos ).Length() + 30 < (origin - gunpos).Length())
continue;
pClosest = pEdict;
flMaxDot = flDot;