From: hgn Date: Thu, 8 Feb 2024 04:54:02 +0000 (+0000) Subject: reset run when using lgider X-Git-Url: https://harrygodden.com/git/?p=carveJwlIkooP6JGAAIwe30JlM.git;a=commitdiff_plain;h=db7617186fffedc9058afa3eba35ef0c9c0d19aa reset run when using lgider --- 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 );