X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_glide.c;h=96d3eac02f7cccb8b2fe33c519ef57d5fb573605;hb=db7617186fffedc9058afa3eba35ef0c9c0d19aa;hp=af44ea6e806ed6f30088f811d679fc1e841c271c;hpb=217627b6b4eef904ac89b5f7f7f819b3a0970b20;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_glide.c b/player_glide.c index af44ea6..96d3eac 100644 --- a/player_glide.c +++ b/player_glide.c @@ -429,6 +429,16 @@ static void player_glide_bind(void){ static void player_glide_transition(void){ localplayer.subsystem = k_player_subsystem_glide; localplayer.have_glider = 0; + world_static.challenge_target = NULL; + world_static.challenge_timer = 0.0f; + world_static.focused_entity = 0; + world_static.last_use = 0.0; + for( u32 i=0; istatus == k_world_status_loaded ){ + world_routes_clear( instance ); + } + } v3_copy( localplayer.rb.co, player_glide.rb.co );