diff --git a/FreeCam.cs b/FreeCam.cs index c9ddc0f..cdecedb 100644 --- a/FreeCam.cs +++ b/FreeCam.cs @@ -34,12 +34,10 @@ public static void Toggle(bool death = false) onDeath = death; prevZoom = gameCamera->currentZoom; - if (isMainMenu) - *(byte*)((nint)gameCamera + 0x2A0) = 0; gameCamera->minVRotation = -1.559f; gameCamera->maxVRotation = 1.559f; gameCamera->minFoV = gameCamera->maxFoV = gameCamera->currentFoV; - gameCamera->currentZoom = gameCamera->minZoom = gameCamera->maxZoom = 0; + gameCamera->currentZoom = gameCamera->minZoom = gameCamera->maxZoom = 0.06f; Game.ZoomDelta = 0; gameCamera->mode = 1; Game.cameraNoCollideReplacer.Enable(); @@ -60,6 +58,10 @@ public static void Toggle(bool death = false) "\nCycle through Enemies (Farthest to Nearest) / Controller Open Main Menu - Stop"); } } + else + { + gameCamera->lockPosition = 0; + } } else {