]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
changed brush model API - now uses function pointers for some of the brush model...
[xonotic/darkplaces.git] / sv_main.c
index fb0049edab8dccaa4f550ee924a0efeb81e49619..a80badc1a132030f8e9bd60b38f302d39304b67f 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -391,7 +391,7 @@ void SV_AddToFatPVS (vec3_t org, mnode_t *node)
                {
                        if (node->contents != CONTENTS_SOLID)
                        {
-                               pvs = Mod_LeafPVS ( (mleaf_t *)node, sv.worldmodel);
+                               pvs = sv.worldmodel->LeafPVS(sv.worldmodel, (mleaf_t *)node);
                                for (i=0 ; i<fatbytes ; i++)
                                        fatpvs[i] |= pvs[i];
                        }