]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qc
Fix #2050 "Corpse plays animations after death"
[xonotic/xonotic-data.pk3dir.git] / 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;
     }