mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-22 07:23:51 +00:00
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.
This commit is contained in:
parent
0b0d74a638
commit
43d520f692
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue