+VG_STATIC void ent_gate_call( world_instance *world, ent_call *call ){
+ u32 index = mdl_entity_id_id( call->id );
+ ent_gate *gate = mdl_arritm( &world->ent_gate, index );
+
+ if( call->function == 0 ){ /* unlock() */
+ gate->flags &= ~k_ent_gate_locked;
+ }
+ else {
+ vg_print_backtrace();
+ vg_error( "Unhandled function id: %u\n", call->function );
+ }
+}
+