glStencilOp( GL_KEEP, GL_KEEP, GL_REPLACE );
glStencilFunc( GL_ALWAYS, 1, 0xFF );
glStencilMask( 0xFF );
- glDisable( GL_CULL_FACE );
+ glEnable( GL_CULL_FACE );
m4x3f mmdl;
ent_gate_get_mdl_mtx( gate, mmdl );
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;