#ifdef SVQC
.float triggerhealtime;
void trigger_heal_touch()
-{
+{SELFPARAM();
if (self.active != ACTIVE_ACTIVE)
return;
{
other.health = min(other.health + self.health, self.max_health);
other.pauserothealth_finished = max(other.pauserothealth_finished, time + autocvar_g_balance_pause_health_rot);
- sound (other, CH_TRIGGER, self.noise, VOL_BASE, ATTEN_NORM);
+ _sound (other, CH_TRIGGER, self.noise, VOL_BASE, ATTEN_NORM);
}
}
}
}
void spawnfunc_trigger_heal()
-{
+{SELFPARAM();
self.active = ACTIVE_ACTIVE;
EXACTTRIGGER_INIT;