From 14be483f3b78c2f4c5ef48f3e9ce5cff6e8d0eab Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 23 Jan 2019 11:35:50 +0100 Subject: [PATCH] Fix #2050 "Corpse plays animations after death" --- qcsrc/common/physics/player.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2