X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_routes.c;h=33d84db5cb8ff2a80ada0c8e2064634493afa3e5;hb=0ff2713a286a77fa3e3538f5a76b0bf60525eb5b;hp=d710e5edf82a058d90bb079d8a60e0630e6ddb9d;hpb=43dc3602effdf0af4f22ce78c0e76565c0be03e6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_routes.c b/world_routes.c index d710e5e..33d84db 100644 --- a/world_routes.c +++ b/world_routes.c @@ -541,7 +541,7 @@ static void world_gen_routes_ent_init( world_instance *world ){ } if( (gate->flags & k_ent_gate_linked) & - !(gate->flags & k_ent_gate_nonlocal_DELETED) ){ + !(gate->flags & k_ent_gate_nonlocal) ){ gate = mdl_arritm(&world->ent_gate, gate->target ); for( u32 k=0; k<4; k++ ){ @@ -612,8 +612,7 @@ static void world_routes_update( world_instance *world ){ for( u32 i=0; ient_route); i++ ){ ent_route *route = mdl_arritm( &world->ent_route, i ); - int target = (route->active_checkpoint == 0xffff? 0: 1) || - skaterift.activity == k_skaterift_respawning; + int target = route->active_checkpoint == 0xffff? 0: 1; route->factive = vg_lerpf( route->factive, target, 0.6f*vg.time_frame_delta ); } @@ -995,7 +994,7 @@ static void render_world_routes( world_instance *world, for( u32 j=0; jent_gate); j ++ ){ ent_gate *gate = mdl_arritm( &world->ent_gate, j ); - if( !(gate->flags & k_ent_gate_nonlocal_DELETED) ) + if( !(gate->flags & k_ent_gate_nonlocal) ) render_gate_markers( mmdl, i, gate ); } }