Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/game/client/neo/ui/neo_root.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,7 @@ void CNeoRoot::MainLoopRoot(const MainLoopParam param)
NeoUI::EndContext();
}

extern ConVar neo_fov;
void CNeoRoot::MainLoopSettings(const MainLoopParam param)
{
struct NeoSettingsFunc
Expand Down Expand Up @@ -1100,7 +1101,7 @@ void CNeoRoot::MainLoopSettings(const MainLoopParam param)
if (NeoUI::Button(NeoUI::HintAlt(L"Accept (F8)", L"Accept (START)")).bPressed
|| NeoUI::Bind(BTNCODES_ACCEPT, ARRAYSIZE(BTNCODES_ACCEPT)))
{
if (m_ns.video.iFov > maxSupportedFov)
if (m_ns.video.iFov > maxSupportedFov && m_ns.video.iFov != neo_fov.GetInt())
{
m_state = STATE_CONFIRMSETTINGS;
}
Expand Down Expand Up @@ -2300,7 +2301,7 @@ void CNeoRoot::MainLoopPopup(const MainLoopParam param)
L"Error: Invalid settings, cannot save.");
NeoUI::SwapFont(NeoUI::FONT_NTNORMAL);

if (m_ns.video.iFov > maxSupportedFov)
if (m_ns.video.iFov > maxSupportedFov && m_ns.video.iFov != neo_fov.GetInt())
{
wchar_t warning[77+1];
V_swprintf_safe(warning,
Expand Down