From: terencehill Date: Sat, 2 May 2020 08:53:00 +0000 (+0200) Subject: Fix being able to move your player's body while dead by moving the mouse X-Git-Tag: xonotic-v0.8.5~1095 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b774f41a39a7bca1eb72327dbe348e8504213ea4;p=xonotic%2Fxonotic-data.pk3dir.git Fix being able to move your player's body while dead by moving the mouse --- diff --git a/qcsrc/lib/csqcmodel/cl_player.qc b/qcsrc/lib/csqcmodel/cl_player.qc index 25fd5cdfa..19a6c0461 100644 --- a/qcsrc/lib/csqcmodel/cl_player.qc +++ b/qcsrc/lib/csqcmodel/cl_player.qc @@ -567,7 +567,8 @@ void CSQCPlayer_SetCamera() #endif CSQCPlayer_SetMinsMaxs(e); - e.angles_y = input_angles.y; + if (!IS_DEAD(e)) + e.angles.y = input_angles.y; } // relink