]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
VectorCopy vieworg and viewangles in intermission too
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 9 Jan 2012 11:18:23 +0000 (11:18 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 9 Jan 2012 11:42:55 +0000 (12:42 +0100)
From: Samual <samual@xonotic.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11635 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d130b67a493f68891c512bf49b53f34da5b81c13

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
        {