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);
do {
if (radar_showennemies) break;
if (SAME_TEAM(to, player)) break;
- if (!IS_PLAYER(to) && time > game_starttime) break;
+ if (!(IS_PLAYER(to) || to.caplayer) && time > game_starttime) break;
sf &= ENTCS_PUBLICMASK; // no private updates
} while (0);
sf |= this.m_forceupdate;