-===============
-Portal_EntityFlood
-
-The entity flood determines which areas are
-"outside" on the map, which are then filled in.
-Flowing from side s to side !s
-===============
-*/
-qboolean Portal_EntityFlood (portal_t *p, int s)
-{
- if (p->nodes[0]->planenum != PLANENUM_LEAF
- || p->nodes[1]->planenum != PLANENUM_LEAF)
- Error ("Portal_EntityFlood: not a leaf");
-
- // can never cross to a solid
- if ( (p->nodes[0]->contents & CONTENTS_SOLID)
- || (p->nodes[1]->contents & CONTENTS_SOLID) )
+ ===============
+ Portal_EntityFlood
+
+ The entity flood determines which areas are
+ "outside" on the map, which are then filled in.
+ Flowing from side s to side !s
+ ===============
+ */
+qboolean Portal_EntityFlood( portal_t *p, int s ){
+ if ( p->nodes[0]->planenum != PLANENUM_LEAF
+ || p->nodes[1]->planenum != PLANENUM_LEAF ) {
+ Error( "Portal_EntityFlood: not a leaf" );
+ }
+
+ // can never cross to a solid
+ if ( ( p->nodes[0]->contents & CONTENTS_SOLID )
+ || ( p->nodes[1]->contents & CONTENTS_SOLID ) ) {