From ff94d465c68bfd246952ca21de025b1ac8fde099 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 14 Aug 2005 22:54:15 +0000 Subject: [PATCH] fix a crash in q1bsp model stats printing in developer mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5578 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_brush.c b/model_brush.c index 76500648..a19020c1 100644 --- a/model_brush.c +++ b/model_brush.c @@ -3158,7 +3158,7 @@ void Mod_Q1BSP_Load(model_t *mod, void *buffer) //Mod_Q1BSP_ProcessLightList(); if (developer.integer) - Con_Printf("Some stats for q1bsp model \"%s\": %i faces, %i nodes, %i leafs, %i visleafs, %i visleafportals\n", loadmodel->name, loadmodel->num_surfaces, loadmodel->brush.num_nodes, loadmodel->brush.num_leafs, mod->brushq1.submodels[i].visleafs, loadmodel->brush.num_portals); + Con_Printf("Some stats for q1bsp model \"%s\": %i faces, %i nodes, %i leafs, %i visleafs, %i visleafportals\n", loadmodel->name, loadmodel->num_surfaces, loadmodel->brush.num_nodes, loadmodel->brush.num_leafs, mod->brush.num_pvsclusters, loadmodel->brush.num_portals); } static void Mod_Q2BSP_LoadEntities(lump_t *l) -- 2.39.2