X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.c;h=348bb744d540b8ec4d0c3814a72c864a86c5b208;hb=63fe317d7db724162561da52aa382c82ac3c29be;hp=b1788c626e8a410d148849144afa4bed296592ed;hpb=2c91a71533b4ce86b9e7fd708420ae05c74d8f52;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.c b/player.c index b1788c6..348bb74 100644 --- 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;