if (self.owner)
{
- SELFCALL(self.owner, door_fire());
- SELFCALL_DONE();
+ WITH(entity, self, self.owner, door_fire());
}
}
{
self.owner.health = self.owner.max_health;
self.owner.takedamage = DAMAGE_NO; // wil be reset upon return
- SELFCALL(self.owner, door_use());
- SELFCALL_DONE();
+ WITH(entity, self, self.owner, door_use());
}
}