if (other.iscreature)
{
if (other.takedamage)
- if (!other.deadflag)
+ if (!IS_DEAD(other))
if (other.triggerhealtime < time)
{
EXACTTRIGGER_TOUCH;
}
}
-void spawnfunc_trigger_heal()
-{SELFPARAM();
+spawnfunc(trigger_heal)
+{
self.active = ACTIVE_ACTIVE;
EXACTTRIGGER_INIT;