level/map.c
/*	Moves entity's brushes into tree.
*/
Moves entity's brushes into tree.
Moves entity ' s brushes into tree .
void MoveEntityBrushesIntoWorld( entity_t *ent )
{
	entity_t *world;
	mbrush_t *b, *next;
	world = &entities[0];
	if( ent == world )
		return;
	for( b = ent->brushes; b; b = next ) {
		next = b->next;
		b->next = world->brushes;
		world->brushes = b;
	}
	ent->brushes = NULL;
}
void MoveEntityBrushesIntoWorld ( entity_t * ent ) { entity_t * world ; mbrush_t * b , * next ; world = & entities [ 0 ] ; if ( ent == world ) return ; for ( b = ent -> brushes ; b ; b = next ) { next = b -> next ; b -> next = world -> brushes ; world -> brushes = b ; } ent -> brushes = NULL ; }
Moves entity's brushes into tree.
Moves entity ' s brushes into tree .