]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix another bug in grounded V_CalcRefDef
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 Nov 2011 21:22:06 +0000 (21:22 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 Nov 2011 21:22:06 +0000 (21:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11559 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index d42a728fee9676b525c7e67b91e8a1bc7c5663c7..e5bdad5999b59d828bc91164052f1efc2b43ba1f 100644 (file)
--- a/view.c
+++ b/view.c
@@ -838,6 +838,7 @@ void V_CalcRefdef (void)
        {
                viewmodelmatrix_nobob = identitymatrix;
                viewmodelmatrix_withbob = identitymatrix;
+               cl.csqc_viewmodelmatrixfromengine = identitymatrix;
                r_refdef.view.matrix = identitymatrix;
                VectorClear(cl.csqc_vieworiginfromengine);
                VectorCopy(cl.viewangles, cl.csqc_viewanglesfromengine);