From: terencehill Date: Sun, 10 Mar 2013 18:38:40 +0000 (+0100) Subject: Set a max revival time of 1 minute X-Git-Tag: xonotic-v0.7.0~61^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ca6829e4da64050f4e53a9f1623e6c47c2496ebb;p=xonotic%2Fxonotic-data.pk3dir.git Set a max revival time of 1 minute --- diff --git a/qcsrc/server/mutators/gamemode_freezetag.qc b/qcsrc/server/mutators/gamemode_freezetag.qc index 6ba51a0b9..3f8094e16 100644 --- a/qcsrc/server/mutators/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/gamemode_freezetag.qc @@ -467,7 +467,7 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerPreThink) if(n && self.freezetag_frozen) // OK, there is at least one teammate reviving us { - self.freezetag_revive_progress = bound(0, self.freezetag_revive_progress + frametime * autocvar_g_freezetag_revive_speed, 1); + self.freezetag_revive_progress = bound(0, self.freezetag_revive_progress + frametime * max(1/60, autocvar_g_freezetag_revive_speed), 1); self.health = max(1, self.freezetag_revive_progress * autocvar_g_balance_health_start); if(self.freezetag_revive_progress >= 1)