From: terencehill Date: Mon, 21 Nov 2016 22:33:08 +0000 (+0100) Subject: Reset revive progress on respawn for every player. It fixes #1839 X-Git-Tag: xonotic-v0.8.2~418 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c4f789f6e3bc25f698c32231a8e3591c0b77f90a;p=xonotic%2Fxonotic-data.pk3dir.git Reset revive progress on respawn for every player. It fixes #1839 --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index fa34eab94..04c35a117 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -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;