From: terencehill Date: Wed, 23 Jan 2019 10:35:50 +0000 (+0100) Subject: Fix #2050 "Corpse plays animations after death" X-Git-Tag: xonotic-v0.8.5~1645 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=14be483f3b78c2f4c5ef48f3e9ce5cff6e8d0eab Fix #2050 "Corpse plays animations after death" --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 87d456c018..c38254982b 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -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; }