]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix playerdemo stuck with low health graphic and pressed keys
authorMario <mario@smbclan.net>
Sat, 15 Jul 2017 16:35:57 +0000 (02:35 +1000)
committerMario <mario@smbclan.net>
Sat, 15 Jul 2017 16:35:57 +0000 (02:35 +1000)
qcsrc/server/playerdemo.qc

index 34c886fa10ebc67029ab433831117ccecb1e2fcb..e3bb7295554ca0c128e4c5871f0549489dfa7462 100644 (file)
@@ -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;
 }