re-add non-local gates
[carveJwlIkooP6JGAAIwe30JlM.git] / world_routes.c
index 5f6d283a50dc0183621be8ef968c1fba4d56b13b..33d84db5cb8ff2a80ada0c8e2064634493afa3e5 100644 (file)
@@ -541,7 +541,7 @@ static void world_gen_routes_ent_init( world_instance *world ){
          }
 
          if( (gate->flags & k_ent_gate_linked) &
-            !(gate->flags & k_ent_gate_nonlocal_DELETED) ){
+            !(gate->flags & k_ent_gate_nonlocal) ){
             gate = mdl_arritm(&world->ent_gate, gate->target );
 
             for( u32 k=0; k<4; k++ ){
@@ -994,7 +994,7 @@ static void render_world_routes( world_instance *world,
 
          for( u32 j=0; j<mdl_arrcount(&world->ent_gate); j ++ ){
             ent_gate *gate = mdl_arritm( &world->ent_gate, j );
-            if( !(gate->flags & k_ent_gate_nonlocal_DELETED) )
+            if( !(gate->flags & k_ent_gate_nonlocal) )
                render_gate_markers( mmdl, i, gate );
          }
       }