/*
* 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 ) )