]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.c
clarifications about the format of svc_fog
[xonotic/darkplaces.git] / world.c
diff --git a/world.c b/world.c
index 6be76178b65d810988b4ea2d73050343edc57874..a37612bf146b35f387955b2e87db89833e1c8fc4 100644 (file)
--- a/world.c
+++ b/world.c
@@ -378,7 +378,10 @@ loc0:
        if ( node->contents < 0)
        {
                if (ent->num_leafs == MAX_ENT_LEAFS)
+               {
+                       Con_DPrintf("FindTouchedLeafs overflow\n");
                        return;
+               }
 
                leaf = (mleaf_t *)node;
                leafnum = leaf - sv.worldmodel->leafs - 1;