X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_entity.c;h=7e285d44a54731ea3cd73e93885ff10ed6d70d74;hb=44459e0aa734b6a090d60a309e29a9a2a232c731;hp=db1d244f490506165b3e45a9744aae764fdd3bb3;hpb=f014a592925b224f846d8adfc6559539fae1a096;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_entity.c b/world_entity.c index db1d244..7e285d4 100644 --- a/world_entity.c +++ b/world_entity.c @@ -26,7 +26,7 @@ VG_STATIC void world_gen_entities_init(void){ for( u32 j=0; jent_gate); j ++ ){ ent_gate *gate = mdl_arritm( &world->ent_gate, j ); - if( gate->type == k_gate_type_teleport ){ + if( !(gate->flags & k_ent_gate_nonlocal) ) { gate_transform_update( gate ); } }