aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZorpLemon <58515326+ZorpLemon@users.noreply.github.com>2026-03-15 18:14:15 -0500
committerGitHub <noreply@github.com>2026-03-15 18:14:15 -0500
commit43d520f692762f9ffb62e5a71e3d24f6d75618b5 (patch)
tree768ec5eeb17319817b47409748baa4d8cd53a941
parent0b0d74a63872b0dd983759a0267b3f7411cde073 (diff)
Comment out FOV modification line, since the FOV is stored and doesn't need to be adjusted. (#1248)
I guess this line was just the games way of applying modifications the player made to the FOV. But since whenever ago someone changed the way the FOV stuff is saved, so this line just adds the difference *again* causing issues when the FOV is set above 70. Setting your FOV to 80 actually sets it to 90, and setting it to 110 actually sets it to 150.
-rw-r--r--Minecraft.Client/GameRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/GameRenderer.cpp b/Minecraft.Client/GameRenderer.cpp
index 73b39529..8c9dd591 100644
--- a/Minecraft.Client/GameRenderer.cpp
+++ b/Minecraft.Client/GameRenderer.cpp
@@ -392,7 +392,7 @@ float GameRenderer::getFov(float a, bool applyEffects)
float fov = m_fov;//70;
if (applyEffects)
{
- fov += mc->options->fov * 40;
+ //fov += mc->options->fov * 40;
fov *= oFov[playerIdx] + (this->fov[playerIdx] - oFov[playerIdx]) * a;
}
if (player->getHealth() <= 0)