X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.h;h=989e918356a34e8f837d2af936e703be224c87b6;hb=6b9993651343af73bd48e2213910bbaadb41edaf;hp=a073b26af051d6edcd08b7bc1e866a165ea4c882;hpb=e70b6d550d63af95cafd9ffdee1918faf02a6892;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index a073b26..989e918 100644 --- a/world_gate.h +++ b/world_gate.h @@ -231,7 +231,8 @@ VG_STATIC ent_gate *world_intersect_gates( world_instance *world, { for( u32 i=0; ient_gate); i++ ){ ent_gate *gate = mdl_arritm( &world->ent_gate, i ); - if( gate->type == k_gate_type_unlinked ) + if( gate->type == k_gate_type_unlinked || + gate->type == k_gate_type_nonlocal_unlinked ) continue; if( gate_intersect( gate, pos, last ) ){