From 84b8574a083c0d2d009b9d44354a9e4e3869d09f Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Sat, 25 Jun 2022 03:54:58 -0400 Subject: [PATCH] Custom camera cleanup (#133) --- src/pc/network/network.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pc/network/network.c b/src/pc/network/network.c index 563a326c..62294682 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -5,6 +5,7 @@ #include "object_constants.h" #include "behavior_table.h" #include "src/game/hardcoded.h" +#include "src/game/rendering_graph_node.h" #ifdef DISCORD_SDK #include "discord/discord.h" #endif @@ -497,6 +498,9 @@ void network_shutdown(bool sendLeaving, bool exiting) { extern u8 gOverrideFreezeCamera; gOverrideFreezeCamera = false; gDjuiHudLockMouse = false; + gOverrideNear = 0; + gOverrideFar = 0; + gOverrideFOV = 0; dynos_mod_shutdown(); mods_clear(&gActiveMods); mods_clear(&gRemoteMods);