mini world rendering adjustments
[carveJwlIkooP6JGAAIwe30JlM.git] / player.c
index b1788c626e8a410d148849144afa4bed296592ed..348bb744d540b8ec4d0c3814a72c864a86c5b208 100644 (file)
--- a/player.c
+++ b/player.c
@@ -11,6 +11,7 @@
 #include "network.h"
 #include "network_common.h"
 #include "world_routes.h"
+#include "ent_miniworld.h"
 
 static int localplayer_cmd_respawn( int argc, const char *argv[] ){
    ent_spawn *rp = NULL, *r;
@@ -250,6 +251,7 @@ static void player__reset(void){
    world_static.focused_entity = 0;
    world_static.active_trigger_volume_count = 0;
    world_static.last_use = 0.0;
+   global_miniworld.active_id = 0;
    world_entity_unfocus();
 
    localplayer.boundary_hash ^= NETMSG_BOUNDARY_BIT;