#include <common/ent_cs.qh>
#include <common/constants.qh>
+#include <common/net_linked.qh>
#include <common/mapinfo.qh>
#include <common/teams.qh>
assert(getthink(entcs), eprint(entcs));
getthink(entcs)(entcs);
if (!entcs.has_origin) continue;
- bool dead = entcs_IsDead(i) || entcs_IsSpectating(i);
- if (entcs.m_entcs_private && !dead)
+ if (entcs.m_entcs_private)
{
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);