projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PC controls for skids
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_gate.c
diff --git
a/world_gate.c
b/world_gate.c
index ba4701c81a5097b4ebe81f48f9303ccc222752a2..1631e05dc535b65ea19b925e65962e03271c7743 100644
(file)
--- a/
world_gate.c
+++ b/
world_gate.c
@@
-171,7
+171,7
@@
static int render_gate( world_instance *world, world_instance *world_inside,
glStencilOp( GL_KEEP, GL_KEEP, GL_REPLACE );
glStencilFunc( GL_ALWAYS, 1, 0xFF );
glStencilMask( 0xFF );
glStencilOp( GL_KEEP, GL_KEEP, GL_REPLACE );
glStencilFunc( GL_ALWAYS, 1, 0xFF );
glStencilMask( 0xFF );
- gl
Dis
able( GL_CULL_FACE );
+ gl
En
able( GL_CULL_FACE );
m4x3f mmdl;
ent_gate_get_mdl_mtx( gate, mmdl );
m4x3f mmdl;
ent_gate_get_mdl_mtx( gate, mmdl );
@@
-326,6
+326,10
@@
static void world_link_nonlocal_async( void *payload, u32 size ){
ent_gate *gate = mdl_arritm( &world->ent_gate, j );
gate_transform_update( gate );
ent_gate *gate = mdl_arritm( &world->ent_gate, j );
gate_transform_update( gate );
+ if( skaterift.demo_mode )
+ if( world_static.instance_addons[world_id]->flags & ADDON_REG_PREMIUM )
+ continue;
+
if( !(gate->flags & k_ent_gate_nonlocal) ) continue;
if( gate->flags & k_ent_gate_linked ) continue;
if( !(gate->flags & k_ent_gate_nonlocal) ) continue;
if( gate->flags & k_ent_gate_linked ) continue;