other.lastteleporttime = time;
if (!other.animstate_override)
+ if (other.deadflag == DEAD_NO)
{
if (other.crouch)
setanim(other, other.anim_duckjump, FALSE, TRUE, TRUE);
else if(n == 1)
{
// exactly one dest - bots love that
- self.enemy = find(e, targetname, self.target);
+ self.enemy = find(world, targetname, self.target);
}
else
{