]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't give players frozen by monsters points if a teammate is revived nearby
authorMario <mario.mario@y7mail.com>
Thu, 18 Apr 2013 11:12:15 +0000 (21:12 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 18 Apr 2013 11:12:15 +0000 (21:12 +1000)
qcsrc/server/mutators/gamemode_freezetag.qc

index 0251a5b3acf7074b96a353066ced913b5210fd91..f87f2861a554c309d842079aef52438e3ec1012a 100644 (file)
@@ -326,7 +326,7 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerPreThink)
                        // EVERY team mate nearby gets a point (even if multiple!)
                        FOR_EACH_PLAYER(other) if(self != other)
                        {
-                               if(other.frozen != 1)
+                               if(!other.frozen)
                                {
                                        if(other.team == self.team)
                                        {