From: Mario Date: Sat, 15 Jul 2017 16:35:57 +0000 (+1000) Subject: Fix playerdemo stuck with low health graphic and pressed keys X-Git-Tag: xonotic-v0.8.5~2634 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d75f4f7a31b2935a77a5c9ddc4959e8e1cfd0793;p=xonotic%2Fxonotic-data.pk3dir.git Fix playerdemo stuck with low health graphic and pressed keys --- diff --git a/qcsrc/server/playerdemo.qc b/qcsrc/server/playerdemo.qc index 34c886fa1..e3bb72955 100644 --- a/qcsrc/server/playerdemo.qc +++ b/qcsrc/server/playerdemo.qc @@ -160,6 +160,10 @@ float playerdemo_read(entity this) this.playerdemo_time += this.playerdemo_starttime; } this.velocity = '0 0 0'; + this.movement = '0 0 0'; + this.dmg_take = 0; // so screen doesn't stay blurry + this.dmg_save = 0; + this.dmg_inflictor = NULL; time = t; return 1; }