void raptor_exit(entity this, int eject)
{
entity player = this.owner;
- this.owner = NULL;
this.tur_head.exteriormodeltoclient = NULL;
setorigin(player, spot);
}
+ this.owner = NULL;
antilag_clear(player, CS(player));
}
void spiderbot_exit(entity this, int eject)
{
entity player = this.owner;
- this.owner = NULL;
IL_EACH(g_projectiles, it.owner == player && it.classname == "spiderbot_rocket",
{
set_movetype(this, MOVETYPE_WALK);
if(!player)
+ {
+ this.owner = NULL; // reset owner anyway?
return;
+ }
makevectors(this.angles);
vector spot;
}
antilag_clear(player, CS(player));
+ this.owner = NULL;
}
void spiderbot_headfade(entity this)