From b15b0b849feeb89639270765101a496ec9183b23 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 2 Jan 2011 20:42:33 +0100 Subject: [PATCH] treat entity leak different from entity in solid (the latter should not cause a leak message, but a proper "in solid") --- tools/quake3/q3map2/portals.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/portals.c b/tools/quake3/q3map2/portals.c index cc3e0d9d..2efc1db4 100644 --- a/tools/quake3/q3map2/portals.c +++ b/tools/quake3/q3map2/portals.c @@ -725,7 +725,11 @@ qboolean FloodEntities( tree_t *tree ) r = PlaceOccupant( headnode, origin, e, skybox ); if( r ) inside = qtrue; - if( (!r || tree->outside_node.occupied) && !tripped ) + if( !r ) + { + Sys_Printf( "Entity %i, Brush %i: Entity in solid\n", e->mapEntityNum, 0); + } + else if( tree->outside_node.occupied && !tripped ) { xml_Select( "Entity leaked", e->mapEntityNum, 0, qfalse ); tripped = qtrue; -- 2.39.2