]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/q2map/portals.c
Remove pointless static guards
[xonotic/netradiant.git] / tools / quake2 / q2map / portals.c
index d4e1127f5e4da6c6d2d5b820316c0f9205d4ba18..c7fae6045c69fe3e7485cb1547fa1c8a737baae8 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1999-2007 id Software, Inc. and contributors.
+   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
    For a list of contributors, see the accompanying CONTRIBUTORS file.
 
    This file is part of GtkRadiant.
@@ -776,12 +776,6 @@ void FloodAreas_r( node_t *node ){
 
        for ( p = node->portals ; p ; p = p->next[s] )
        {
-               s = ( p->nodes[1] == node );
-#if 0
-               if ( p->nodes[!s]->occupied ) {
-                       continue;
-               }
-#endif
                if ( !Portal_EntityFlood( p, s ) ) {
                        continue;
                }