treat entity leak different from entity in solid (the latter should not cause a leak message, but a proper "in solid")

This commit is contained in:
Rudolf Polzer 2011-01-02 20:42:33 +01:00
parent 8f04ed28bf
commit b15b0b849f

View 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;