aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
authorAnand S <ClobberXD@gmail.com>2018-07-15 05:56:30 +0530
committersfan5 <sfan5@live.de>2019-09-19 20:14:16 +0200
commit47da640d7763ee1e00badb7476ac5afc4f864367 (patch)
treed12bee2e2cfc1b1c4a4a51e318d692b11ee5fbaf /src/client/game.cpp
parent5c9983400fb085167bf11f8a0483b8e8f6dd8a24 (diff)
downloaddragonfireclient-47da640d7763ee1e00badb7476ac5afc4f864367.tar.xz
Add support for per-player FOV overrides and multipliers
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index ef846fe18..042b61a78 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -2332,7 +2332,7 @@ void Game::toggleFullViewRange()
void Game::checkZoomEnabled()
{
LocalPlayer *player = client->getEnv().getLocalPlayer();
- if (player->getZoomFOV() < 0.001f)
+ if (player->getZoomFOV() < 0.001f || player->getFov().fov > 0.0f)
m_game_ui->showTranslatedStatusText("Zoom currently disabled by game or mod");
}