]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't heal dead players
authorSamual Lenks <samual@xonotic.org>
Sat, 21 Jul 2012 05:44:03 +0000 (01:44 -0400)
committerSamual Lenks <samual@xonotic.org>
Sat, 21 Jul 2012 05:44:03 +0000 (01:44 -0400)
qcsrc/server/g_triggers.qc

index af7c105617769463262f0759e1b392a2463e8abe..6115b4218a8f45834d4477f3684a0168e5c17f6f 100644 (file)
@@ -545,6 +545,7 @@ void trigger_heal_touch()
        if (other.iscreature)
        {
                if (other.takedamage)
+               if (!other.deadflag)
                if (other.triggerhealtime < time)
                {
                        EXACTTRIGGER_TOUCH;