Reset revive progress on respawn for every player. It fixes #1839
authorterencehill <piuntn@gmail.com>
Mon, 21 Nov 2016 22:33:08 +0000 (23:33 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 21 Nov 2016 22:33:08 +0000 (23:33 +0100)
qcsrc/server/client.qc

index fa34eab..04c35a1 100644 (file)
@@ -339,6 +339,7 @@ void PutObserverInServer(entity this)
        this.hook_time = 0;
        this.deadflag = DEAD_NO;
        this.crouch = false;
+       this.revive_progress = 0;
        this.revival_time = 0;
 
        this.items = 0;
@@ -616,6 +617,7 @@ void PutClientInServer(entity this)
                this.strength_finished = 0;
                this.invincible_finished = 0;
                this.fire_endtime = -1;
+               this.revive_progress = 0;
                this.revival_time = 0;
                this.air_finished = time + 12;