RemoveGrapplingHook(self); // Wazat's Grappling Hook
+ Violence_DamageEffect_Remove(self);
+
self.classname = "player";
self.wasplayer = TRUE;
self.iscreature = TRUE;
}
CopyBody(1);
- Violence_DamageEffect_Remove(self);
self.effects |= EF_NODRAW; // prevent another CopyBody
if(self.oldcolormap)
{
void Violence_DamageEffect_Remove(entity pl)
{
+ pl.damageeffect_repeater.nextthink = 0;
remove(pl.damageeffect_repeater);
pl.damageeffect_repeater = world;
}
{
if(time > self.lifetime || (self.owner.classname != "player" && self.owner.classname != "body"))
{
- self.nextthink = 0;
Violence_DamageEffect_Remove(self.owner);
return;
}