]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
trust view_angles no matter what the view entity is
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Dec 2011 09:15:37 +0000 (10:15 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Dec 2011 09:15:37 +0000 (10:15 +0100)
qcsrc/csqcmodel/cl_player.qc

index de168f32389d0e584692bde29e88ec0fe64e6870..21808f0f9fcb702eda68bf4cf20d75317ec782c8 100644 (file)
@@ -233,7 +233,7 @@ void CSQCPlayer_SetCamera()
        {
                // legacy code, not totally correct, but good enough for not having V_CalcRefdef
                setproperty(VF_ORIGIN, view.origin + '0 0 1' * getstati(STAT_VIEWHEIGHT));
-               setproperty(VF_ANGLES, view.angles);
+               setproperty(VF_ANGLES, view_angles);
        }
        else
 #endif