projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some niceer ui stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_render.c
diff --git
a/world_render.c
b/world_render.c
index a7ff25ccf3639c1eff192e104e13064c30139937..d59d4e1b163eb1241d280061c958b669b386e384 100644
(file)
--- a/
world_render.c
+++ b/
world_render.c
@@
-535,6
+535,8
@@
VG_STATIC void render_world_gates( world_instance *world, camera *cam,
world->rendering_gate = gate;
if( gate ){
world->rendering_gate = gate;
if( gate ){
+ if( gate->flags & k_ent_gate_locked ) return;
+
if( gate->flags & k_ent_gate_nonlocal ){
if( world_loader.state != k_world_loader_none ){
world->rendering_gate = NULL;
if( gate->flags & k_ent_gate_nonlocal ){
if( world_loader.state != k_world_loader_none ){
world->rendering_gate = NULL;