projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
217627b
)
reset run when using lgider
author
hgn
<hgodden00@gmail.com>
Thu, 8 Feb 2024 04:54:02 +0000
(
04:54
+0000)
committer
hgn
<hgodden00@gmail.com>
Thu, 8 Feb 2024 04:54:02 +0000
(
04:54
+0000)
player_glide.c
patch
|
blob
|
history
diff --git
a/player_glide.c
b/player_glide.c
index af44ea6e806ed6f30088f811d679fc1e841c271c..96d3eac02f7cccb8b2fe33c519ef57d5fb573605 100644
(file)
--- 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;
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; i<vg_list_size(world_static.instances); i++ ){
+ world_instance *instance = &world_static.instances[i];
+ if( instance->status == k_world_status_loaded ){
+ world_routes_clear( instance );
+ }
+ }
v3_copy( localplayer.rb.co, player_glide.rb.co );
v3_copy( localplayer.rb.co, player_glide.rb.co );