From: Mario Date: Sun, 17 Jun 2018 22:34:43 +0000 (+1000) Subject: Add a note to trigger_heal for later X-Git-Tag: xonotic-v0.8.5~2023 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=038306cf3f283ca719011d71c75f28969f6f1063;p=xonotic%2Fxonotic-data.pk3dir.git Add a note to trigger_heal for later --- diff --git a/qcsrc/common/mapobjects/trigger/heal.qc b/qcsrc/common/mapobjects/trigger/heal.qc index 61f27a021..ab08a39e8 100644 --- a/qcsrc/common/mapobjects/trigger/heal.qc +++ b/qcsrc/common/mapobjects/trigger/heal.qc @@ -42,7 +42,7 @@ void trigger_heal_init(entity this) if(!this.delay) this.delay = 1; if(!GetResourceAmount(this, RESOURCE_HEALTH)) - SetResourceAmountExplicit(this, RESOURCE_HEALTH, 10); + SetResourceAmountExplicit(this, RESOURCE_HEALTH, 10); // TODO: use a special field for this, it doesn't have actual health! if(!this.max_health) this.max_health = 200; // max health topoff for field if(this.noise == "")