foot animation for ticks
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gate.c
index 7a5360a6e2b09a9bcd517ee3cfe2781bf3552257..876007d901fe61fa4c1736511aed5115f3ec897c 100644 (file)
@@ -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;
          }
       }