X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fheal.qc;h=0f5c69c777f65c0540a41de281622f4af56feb08;hp=f2345e8f59397aba32c0802dd24e6b218a3c255a;hb=5b11668fa4daa406b8f827a3e0ea9665b55dc09f;hpb=9157ba5777ae0125dd49a31adc856ac6be851183 diff --git a/qcsrc/common/triggers/trigger/heal.qc b/qcsrc/common/triggers/trigger/heal.qc index f2345e8f5..0f5c69c77 100644 --- a/qcsrc/common/triggers/trigger/heal.qc +++ b/qcsrc/common/triggers/trigger/heal.qc @@ -13,7 +13,7 @@ void trigger_heal_touch(entity this, entity toucher) if (!IS_DEAD(toucher)) if (toucher.triggerhealtime < time) { - bool is_trigger = !boolean(!this.nottargeted && this.targetname != ""); + bool is_trigger = this.targetname == ""; if(is_trigger) EXACTTRIGGER_TOUCH(this, toucher); if(this.delay > 0)