]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
VectorCopy vieworg and viewangles in intermission too samual/fix_intermission
authorSamual <samual@xonotic.org>
Sun, 8 Jan 2012 19:21:54 +0000 (14:21 -0500)
committerSamual <samual@xonotic.org>
Sun, 8 Jan 2012 19:21:54 +0000 (14:21 -0500)
view.c

diff --git a/view.c b/view.c
index 6e5de1589154f3cb7678cd24c701464e9a2cb2f3..91dea9cc6a6c713260f76bb495df33ae712046f9 100644 (file)
--- a/view.c
+++ b/view.c
@@ -484,6 +484,9 @@ void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewa
                Matrix4x4_Copy(&viewmodelmatrix_nobob, &r_refdef.view.matrix);
                Matrix4x4_ConcatScale(&viewmodelmatrix_nobob, cl_viewmodel_scale.value);
                Matrix4x4_Copy(&viewmodelmatrix_withbob, &viewmodelmatrix_nobob);
+               
+               VectorCopy(vieworg, cl.csqc_vieworiginfromengine);
+               VectorCopy(viewangles, cl.csqc_viewanglesfromengine);
        }
        else
        {