changed brush model API - now uses function pointers for some of the brush model...
[xonotic/darkplaces.git] / sv_main.c
index fb0049e..a80badc 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];
                        }