]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
Add cvars that disable linking of SOLID_NOT entities: [cl|sv]_areagrid_link_SOLID_NOT
[xonotic/darkplaces.git] / sv_phys.c
index 562c0ea902f9bb902de4a6363b22c6f8b31c99bb..3e1e2749d4f26d01f8e23f082e73488a71b4de1e 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -904,7 +904,7 @@ void SV_LinkEdict (prvm_edict_t *ent)
        VectorCopy(mins, PRVM_serveredictvector(ent, absmin));
        VectorCopy(maxs, PRVM_serveredictvector(ent, absmax));
 
-       World_LinkEdict(&sv.world, ent, mins, maxs);
+       World_LinkEdict(&sv.world, ent, mins, maxs, sv_areagrid_link_SOLID_NOT.integer);
 }
 
 /*