]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
fix severe (crashing) bugs with two calls to qglDrawElements when using
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 4b106a6904203ba0363901e58de5844b6709f56f..f4be51c7728ec5bb2e09881e50c77df01ae5e232 100644 (file)
--- a/host.c
+++ b/host.c
@@ -709,7 +709,7 @@ void Host_Main(void)
                        // Look for clients who have spawned
                        playing = false;
                        for (i = 0, host_client = svs.clients;i < svs.maxclients;i++, host_client++)
-                               if(host_client->spawned)
+                               if(host_client->begun)
                                        if(host_client->netconnection)
                                                playing = true;
                        if(sv.time < 10)
@@ -925,7 +925,7 @@ void Host_Main(void)
                {
                        R_TimeReport("---");
                        Collision_Cache_NewFrame();
-                       R_TimeReport("collisioncache");
+                       R_TimeReport("photoncache");
                        // decide the simulation time
                        if (cls.capturevideo.active)
                        {