]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
r_novis now disables sv_cullentities_pvs, mostly to be more
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 1 May 2009 18:10:06 +0000 (18:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 1 May 2009 18:10:06 +0000 (18:10 +0000)
user-friendly

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8942 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index cf1950ae90b9e09bbf6a9458f5696a1e26c7be60..495afebc594a42a3cf5dff83f149c409d5950a67 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1315,7 +1315,7 @@ void SV_MarkWriteEntityStateToClient(entity_state_t *s)
                        ed = PRVM_EDICT_NUM(s->number);
 
                        // if not touching a visible leaf
-                       if (sv_cullentities_pvs.integer && sv.writeentitiestoclient_pvsbytes)
+                       if (sv_cullentities_pvs.integer && !r_novis.integer && sv.writeentitiestoclient_pvsbytes)
                        {
                                if (ed->priv.server->pvs_numclusters < 0)
                                {