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 87d456c..c382549 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;
     }