X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.c;h=876007d901fe61fa4c1736511aed5115f3ec897c;hb=da75338cd104cd96204117d704fb89ed1bd9677b;hp=7a5360a6e2b09a9bcd517ee3cfe2781bf3552257;hpb=342fcbf6fda017bdd38d56ce0fa7c9e59e589f3b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.c b/world_gate.c index 7a5360a..876007d 100644 --- a/world_gate.c +++ b/world_gate.c @@ -127,7 +127,7 @@ VG_STATIC int render_gate( world_instance *world_inside, /* Ready to draw with new camrea */ camera_finalize( &gate_camera ); - vg_line_pt3( gate_camera.transform[3], 0.3f, 0xff00ff00 ); + vg_line_point( gate_camera.transform[3], 0.3f, 0xff00ff00 ); { shader_model_gate_use(); shader_model_gate_uPv( cam->mtx.pv ); @@ -246,8 +246,7 @@ VG_STATIC ent_gate *world_intersect_gates( world_instance *world, continue; if( gate->type == k_gate_type_nonlocel ){ - if( skaterift.async_op == k_async_op_world_loading || - skaterift.async_op == k_async_op_world_preloading ){ + if( world_loader.state != k_world_loader_none ){ continue; } }