do not render buildings carried by lcoal player
This commit is contained in:
parent
059233d39c
commit
9fc2705689
@ -147,6 +147,10 @@ bool EffectChams::ShouldRenderChams(IClientEntity *entity)
|
||||
return false;
|
||||
if (!ent->m_bEnemy && !(teammate_buildings || teammates))
|
||||
return false;
|
||||
if (ent->m_iHealth == 0 || !ent->m_iHealth)
|
||||
return false;
|
||||
if (CE_BYTE(LOCAL_E, netvar.m_bCarryingObject) && LOCAL_E->m_vecOrigin.DistTo(ent->m_vecOrigin) <= 85.0f)
|
||||
return false;
|
||||
return true;
|
||||
case ENTITY_PLAYER:
|
||||
if (!players)
|
||||
|
Reference in New Issue
Block a user