X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fcsqcmodel%2Fcl_player.qc;h=19a6c046102c2f9e5797e464f4e4215f76add966;hb=b774f41a39a7bca1eb72327dbe348e8504213ea4;hp=04a3c2b74072e5391a198224b5a33a7658672e99;hpb=a477264b2997ae2934db7071f77f392e05bf3445;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/csqcmodel/cl_player.qc b/qcsrc/lib/csqcmodel/cl_player.qc index 04a3c2b74..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 @@ -596,7 +597,6 @@ void CSQCPlayer_SetCamera() { CSQCPlayer_CalcRefdef(view); } - } else {