]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove useless/redundant code
authorterencehill <piuntn@gmail.com>
Sun, 11 Apr 2021 21:39:00 +0000 (23:39 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 11 Apr 2021 21:39:00 +0000 (23:39 +0200)
qcsrc/common/mutators/mutator/nades/nades.qc

index bebb92f5c6a95a50f7cc1aaeaaa5abbcc741dcfa..599edf926569f4e805c86df4f834d685e79761c4 100644 (file)
@@ -1348,9 +1348,7 @@ MUTATOR_HOOKFUNCTION(nades, PlayerPreThink)
                entity revivers_last = NULL;
                entity revivers_first = NULL;
 
-               if(player.freezetag_frozen_timeout > 0 && time >= player.freezetag_frozen_timeout)
-                       n = -1;
-               else if (STAT(FROZEN, player) == FROZEN_TEMP_DYING)
+               if (STAT(FROZEN, player) == FROZEN_TEMP_DYING)
                {
                        vector revive_extra_size = '1 1 1' * autocvar_g_freezetag_revive_extra_size;
                        n = 0;