X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world.c;fp=world.c;h=019e572a63b714c6c690a0ecb438bdc369b7f518;hb=99376ce8eaf30125fb08dd5dc8b534800580fe47;hp=c3b55163110fe686905d99ba31e0d878719a9ad8;hpb=6190deb68aa1c9e92ede62ea05c2a755bf5516de;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world.c b/world.c index c3b5516..019e572 100644 --- a/world.c +++ b/world.c @@ -26,6 +26,15 @@ static void world_init(void) VG_MEMORY_SYSTEM ); } +static void world_set_active_instance( u32 index ){ + world_static.challenge_target = NULL; + world_static.challenge_timer = 0.0f; + world_static.focused_entity = 0; + world_static.focus_strength = 0.0f; + world_static.active_trigger_volume_count = 0; + world_static.active_instance = index; +} + static void skaterift_world_get_save_path( enum world_purpose which, char buf[128] ){ addon_reg *reg;