]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix #2050 "Corpse plays animations after death"
authorterencehill <piuntn@gmail.com>
Wed, 23 Jan 2019 10:35:50 +0000 (11:35 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 23 Jan 2019 10:35:50 +0000 (11:35 +0100)
qcsrc/common/physics/player.qc

index 87d456c018fb4ad7b5f52243b73d9e13c4f7c569..c38254982b13287d8d64c9a0ed4c8de451fbcf96 100644 (file)
@@ -132,7 +132,7 @@ void PM_ClientMovement_UpdateStatus(entity this)
                //do_crouch = false;
        } else if (PHYS_INVEHICLE(this)) {
                do_crouch = false;
-       } else if (STAT(FROZEN, this)) {
+       } else if (STAT(FROZEN, this) || IS_DEAD(this)) {
                do_crouch = false;
     }