X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fhurt.qc;fp=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fhurt.qc;h=82199a39311ec56ee18d3acdb2e718818afdb0ed;hb=aa14e2a0c66030cfde1c5d9d2c0882b5aa4816c1;hp=8eaf0ec5ef58f554438e7557cf487a78b0c46d56;hpb=daab9330abb8952053b47239d1322cd029b08cd1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/trigger/hurt.qc b/qcsrc/common/triggers/trigger/hurt.qc index 8eaf0ec5e..82199a393 100644 --- a/qcsrc/common/triggers/trigger/hurt.qc +++ b/qcsrc/common/triggers/trigger/hurt.qc @@ -8,8 +8,8 @@ void trigger_hurt_use(entity this, entity actor, entity trigger) } .float triggerhurttime; -void trigger_hurt_touch() -{SELFPARAM(); +void trigger_hurt_touch(entity this) +{ if (self.active != ACTIVE_ACTIVE) return;