for (int i = 0; i < maxclients; ++i)
{
entity e = new(shownames_tag);
+ make_pure(e);
e.sv_entnum = i + 1;
LL_PUSH(shownames_ent, e);
}
if (!autocvar_hud_shownames) return;
LL_EACH(shownames_ent, true, LAMBDA(
entity entcs = entcs_receiver(i);
- if (!entcs) continue;
+ if (!entcs)
+ {
+ make_pure(it);
+ continue;
+ }
+ make_impure(it);
if (entcs.think) WITH(entity, self, entcs, entcs.think());
else
{
entity viewmodel;
STATIC_INIT(viewmodel) {
viewmodel = new(viewmodel);
+ make_pure(viewmodel);
viewmodel.draw = viewmodel_draw;
}
return = true;
if (isNew)
{
+ make_pure(this);
this.entremove = NET_Mutator_Remove;
int added = 0;
WITH(bool, mutator_log, true, LAMBDA(
NET_HANDLE(ENT_CLIENT_TRIGGER_PUSH, bool isnew)
{
+ make_pure(this);
float sf = ReadByte();
if(sf & 1)
NET_HANDLE(ENT_CLIENT_TARGET_PUSH, bool isnew)
{
+ make_pure(this);
self.classname = "push_target";
self.cnt = ReadByte();
self.targetname = strzone(ReadString());
if (!this.weaponchild)
{
this.weaponchild = new(weaponchild);
+ make_pure(this.weaponchild);
#ifdef CSQC
this.weaponchild.drawmask = MASK_NORMAL;
this.weaponchild.renderflags |= RF_VIEWMODEL;