From: Rudolf Polzer Date: Sun, 2 Jan 2011 19:42:33 +0000 (+0100) Subject: treat entity leak different from entity in solid (the latter should not cause a leak... X-Git-Tag: xonotic-v0.5.0~71 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b15b0b849feeb89639270765101a496ec9183b23;p=xonotic%2Fnetradiant.git treat entity leak different from entity in solid (the latter should not cause a leak message, but a proper "in solid") --- 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;