From 957c6063431c1baecc296a5f67fab4583ecd01d7 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 4 Mar 2015 17:30:12 +0000 Subject: [PATCH] Fix uninitialized gunangles. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12185 d7cf8633-e32d-0410-b094-e92efae38249 --- view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/view.c b/view.c index ac9c5f21..fef4c4cb 100644 --- a/view.c +++ b/view.c @@ -493,6 +493,7 @@ void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewa cl.oldonground = clonground; cl.calcrefdef_prevtime = max(cl.calcrefdef_prevtime, cl.oldtime); + VectorClear(gunangles); VectorClear(gunorg); viewmodelmatrix_nobob = identitymatrix; viewmodelmatrix_withbob = identitymatrix; -- 2.39.2