]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
cl.viewzoomold/new are now reset in CL_ClearState
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Sep 2004 07:37:36 +0000 (07:37 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Sep 2004 07:37:36 +0000 (07:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4415 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index b1d9342e216a874a37d45e219e50a913b9e4f085..7fcdf257732a8ef007e91b82f93c49bdf6fe2d3c 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -109,6 +109,8 @@ void CL_ClearState(void)
 
 // wipe the entire cl structure
        memset (&cl, 0, sizeof(cl));
+       // reset the view zoom interpolation
+       cl.viewzoomold = cl.viewzoomnew = 1;
 
        SZ_Clear (&cls.message);