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: https://git.rm.cloudns.org/?a=commitdiff_plain;h=14be483f3b78c2f4c5ef48f3e9ce5cff6e8d0eab;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2050 "Corpse plays animations after death" --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 87d456c01..c38254982 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; }