re-add non-local gates
[carveJwlIkooP6JGAAIwe30JlM.git] / respawn.c
index b0235202244ef2f14bd151341db747a195cbec33..d8c470a83679fdfaa35d38c5796863313c3602dc 100644 (file)
--- a/respawn.c
+++ b/respawn.c
@@ -190,6 +190,13 @@ static void respawn_chooser_pre_update(void){
       }
    }
 
+   for( u32 i=0; i<mdl_arrcount(&world->ent_gate); i++ ){
+      ent_gate *gate = mdl_arritm( &world->ent_gate, i );
+      if( gate->flags & k_ent_gate_nonlocal ){
+         respawn_map_draw_icon( cam, k_gui_icon_rift, gate->co[0] );
+      }
+   }
+
    for( u32 i=0; i<mdl_arrcount(&world->ent_route); i++ ){
       ent_route *route = mdl_arritm( &world->ent_route, i );