projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nonlocal stuff again
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_gate.h
diff --git
a/world_gate.h
b/world_gate.h
index a073b26af051d6edcd08b7bc1e866a165ea4c882..989e918356a34e8f837d2af936e703be224c87b6 100644
(file)
--- 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; i<mdl_arrcount(&world->ent_gate); i++ ){
ent_gate *gate = mdl_arritm( &world->ent_gate, i );
{
for( u32 i=0; i<mdl_arrcount(&world->ent_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 ) ){
continue;
if( gate_intersect( gate, pos, last ) ){