dont remember
[carveJwlIkooP6JGAAIwe30JlM.git] / world_render.h
index 811e6a447bf5cd4e287d75c3bf5a46375fdaa042..09ecc19e4ce9241eca46edcf04ab43df6cd406a3 100644 (file)
@@ -376,6 +376,10 @@ VG_STATIC void render_world_gates( world_instance *world, camera *cam,
 #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;
    }
 }