diff options
author | cora <coradelamouche@gmx.ch> | 2023-06-26 00:16:21 +0200 |
---|---|---|
committer | cora <coradelamouche@gmx.ch> | 2023-06-26 00:16:21 +0200 |
commit | 3345dca419af3c52cf60543758f5b3278c90690a (patch) | |
tree | fb701423819bdb83f7216acde555fa738e2f47a4 /src/client/game.cpp | |
parent | dfdae0ead6b59fc6ccff0c49d22229ac34320c16 (diff) | |
download | dragonfireclient-3345dca419af3c52cf60543758f5b3278c90690a.tar.xz |
Add and use new zoom_bypass setting
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index bc2f8bc84..9f22ccfe8 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1662,7 +1662,7 @@ void Game::toggleFullViewRange() void Game::checkZoomEnabled() { LocalPlayer *player = client->getEnv().getLocalPlayer(); - if (!g_settings->getBool("priv_bypass") && (player->getZoomFOV() < 0.001f || player->getFov().fov > 0.0f)) + if (!g_settings->getBool("zoom_bypass") && (player->getZoomFOV() < 0.001f || player->getFov().fov > 0.0f)) m_game_ui->showTranslatedStatusText("Zoom currently disabled by game or mod"); } |