moved some stuff
[carveJwlIkooP6JGAAIwe30JlM.git] / player_physics.h
index 6c170c6d9ae16f54272096c44c69b448c340c03c..d5b112be60d51242f64a21e5d1c7f71eedd136fa 100644 (file)
@@ -684,9 +684,9 @@ static void player_do_motion(void)
    /* 
     * Gate intersection, by tracing a line over the gate planes 
     */
-   for( int i=0; i<world.routes.gate_count; i++ )
+   for( int i=0; i<world_routes.gate_count; i++ )
    {
-      struct route_gate *rg = &world.routes.gates[i];
+      struct route_gate *rg = &world_routes.gates[i];
       teleport_gate *gate = &rg->gate;
 
       if( gate_intersect( gate, phys->rb.co, prevco ) )