X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=09ecc19e4ce9241eca46edcf04ab43df6cd406a3;hb=59c926ee69a041fbe9450b302e11072d39abb432;hp=811e6a447bf5cd4e287d75c3bf5a46375fdaa042;hpb=7a2032debc2c3bff7e4f795f39fd0e798186b4c2;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index 811e6a4..09ecc19 100644 --- a/world_render.h +++ b/world_render.h @@ -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; } }