]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Refactor the code to make r_view and r_viewcache members of r_refdef,
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 511ad1131f91d44e52f42ba437edd9e776fcffba..060bbea771352ffa12236382c08349955f30b4cb 100644 (file)
--- a/host.c
+++ b/host.c
@@ -873,7 +873,7 @@ void Host_Main(void)
                                cl.csqc_usecsqclistener = false;
                        }
                        else
-                               S_Update(&r_view.matrix);
+                               S_Update(&r_refdef.view.matrix);
 
                        CDAudio_Update();