diff options
author | cora <coradelamouche@gmx.ch> | 2021-09-20 23:46:30 +0200 |
---|---|---|
committer | cora <coradelamouche@gmx.ch> | 2023-06-22 04:27:26 +0200 |
commit | dfdae0ead6b59fc6ccff0c49d22229ac34320c16 (patch) | |
tree | edf9886e0cf1d4c8f29f5e6d99b58bfd24ff9108 /src/client/game.cpp | |
parent | 2c050a42d7d4c33552834a219fb8247b7e70a69e (diff) | |
download | dragonfireclient-dfdae0ead6b59fc6ccff0c49d22229ac34320c16.tar.xz |
Add zoom to privbypass
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 e7840b189..bc2f8bc84 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 (player->getZoomFOV() < 0.001f || player->getFov().fov > 0.0f) + if (!g_settings->getBool("priv_bypass") && (player->getZoomFOV() < 0.001f || player->getFov().fov > 0.0f)) m_game_ui->showTranslatedStatusText("Zoom currently disabled by game or mod"); } |