mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 07:27:20 +00:00
Comment out FOV modification line, since the FOV is stored and doesn't need to be adjusted. (#1248)
Some checks are pending
MSBuild Debug Test / Build Windows64 (DEBUG) (push) Waiting to run
Docker Nightly Dedicated Server / Build Dedicated Server Runtime (push) Waiting to run
Docker Nightly Dedicated Server / Build and Push Docker Image (push) Blocked by required conditions
Nightly Releases / Build Windows64 (push) Waiting to run
Some checks are pending
MSBuild Debug Test / Build Windows64 (DEBUG) (push) Waiting to run
Docker Nightly Dedicated Server / Build Dedicated Server Runtime (push) Waiting to run
Docker Nightly Dedicated Server / Build and Push Docker Image (push) Blocked by required conditions
Nightly Releases / Build Windows64 (push) Waiting to run
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.
This commit is contained in:
parent
0b0d74a638
commit
43d520f692
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue