]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - portals.c
rewrote memory system entirely (hunk, cache, and zone are gone, memory pools replaced...
[xonotic/darkplaces.git] / portals.c
index 3575298868ee88bd1d2bd16673c597f0b7b57661..1ad130c2c08525f0d668eb44c5bc620dfdbf3933 100644 (file)
--- a/portals.c
+++ b/portals.c
@@ -203,6 +203,7 @@ int Portal_CheckPolygon(model_t *model, vec3_t eye, float *polypoints, int numpo
 
        portal_markid++;
 
+       Mod_CheckLoaded(model);
        Portal_PolygonRecursiveMarkLeafs(model->nodes, polypoints, numpoints);
 
        eyeleaf = Mod_PointInLeaf(eye, model);