m4x3_mulv( gate->transport, player->cam.pos, player->cam.pos );
if( gate->flags & k_ent_gate_nonlocal )
- world_static.active_instance = gate->target;
+ world_set_active_instance( gate->target );
audio_lock();
audio_oneshot( &audio_gate_pass, 1.0f, 0.0f );
player__debugtext( 1, "activity: %s",
(const char *[]){ [k_skaterift_menu] = "menu",
[k_skaterift_replay] = "replay",
- [k_skaterift_skateshop] = "shop",
+ [k_skaterift_ent_focus] = "ent_focus",
[k_skaterift_default] = "default"
} [skaterift.activity] );
player__debugtext( 1, "time_rate: %.4f", skaterift.time_rate );
skaterift_replay_debug_info();
}
-VG_STATIC void global_skateshop_exit(void);
PLAYER_API void player__setpos( player_instance *player, v3f pos ){
v3_copy( pos, player->rb.co );
player->immobile = 0;
player->gate_waiting = NULL;
world_static.last_use = 0.0;
-
- global_skateshop_exit();
+ world_static.focused_entity = 0;
+ world_static.challenge_target = NULL;
+ world_static.challenge_timer = 0.0f;
+ world_entity_unfocus();
if( _player_reset[ player->subsystem ] )
_player_reset[ player->subsystem ]( player, rp );