assert(getthink(entcs), eprint(entcs));
getthink(entcs)(entcs);
if (!entcs.has_origin) continue;
- if (entcs.m_entcs_private)
+ bool dead = entcs_IsDead(i) || entcs_IsSpectating(i);
+ if (entcs.m_entcs_private && !dead)
{
it.healthvalue = entcs.healthvalue;
it.armorvalue = entcs.armorvalue;
it.armorvalue = 0;
it.sameteam = false;
}
- bool dead = entcs_IsDead(i) || entcs_IsSpectating(i);
if (!it.csqcmodel_isdead) setorigin(it, entcs.origin);
it.csqcmodel_isdead = dead;
Draw_ShowNames(it);