+
+ if( gate ){
+#if 0
+ world_instance *dest_world = &world_global.worlds[ gate->world_index ];
+ render_gate( dest_world, gate, cam, layer_depth );
+#else
+ render_gate( world, gate, cam, layer_depth );
+#endif
+
+ /* should really be set in fixed update since its used in the physics
+ * of most systems. too bad! */
+ world->rendering_gate = gate;
+ }