]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation. It seems that Samual renamed inWarmupStage to warmup_stage in the...
authorterencehill <piuntn@gmail.com>
Mon, 16 Sep 2013 10:30:33 +0000 (12:30 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 16 Sep 2013 10:30:33 +0000 (12:30 +0200)
qcsrc/server/mutators/gamemode_freezetag.qc

index 66054e6c2ca426f6538c9c9f88c27bd79be322e4..406cf07ced4f6a7b70b7dbf5c0af123641619374 100644 (file)
@@ -475,7 +475,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 * max(1/60, autocvar_g_freezetag_revive_speed), 1);
-               if(inWarmupStage)
+               if(warmup_stage)
                        self.health = max(1, self.freezetag_revive_progress * warmup_start_health);
                else
                        self.health = max(1, self.freezetag_revive_progress * start_health);
@@ -519,7 +519,7 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerPreThink)
        else if(!n && self.freezetag_frozen) // only if no teammate is nearby will we reset
        {
                self.freezetag_revive_progress = bound(0, self.freezetag_revive_progress - frametime * autocvar_g_freezetag_revive_clearspeed, 1);
-               if(inWarmupStage)
+               if(warmup_stage)
                        self.health = max(1, self.freezetag_revive_progress * warmup_start_health);
                else
                        self.health = max(1, self.freezetag_revive_progress * start_health);