treat entity leak different from entity in solid (the latter should not cause a leak...
authorRudolf Polzer <divverent@alientrap.org>
Sun, 2 Jan 2011 19:42:33 +0000 (20:42 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 2 Jan 2011 19:42:33 +0000 (20:42 +0100)
tools/quake3/q3map2/portals.c

index cc3e0d9..2efc1db 100644 (file)
@@ -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;