diff --git a/src/game/game_0b0fd0.c b/src/game/game_0b0fd0.c index 99a670f25..bb0937703 100644 --- a/src/game/game_0b0fd0.c +++ b/src/game/game_0b0fd0.c @@ -280,9 +280,22 @@ void currentPlayerZoomIn(f32 fovpersec) g_Vars.currentplayer->gunzoomfovs[index] /= 1 + amount * 0.1f; +#ifdef PLATFORM_N64 if (g_Vars.currentplayer->gunzoomfovs[index] < 2) { g_Vars.currentplayer->gunzoomfovs[index] = 2; } +#else + if (g_PlayerFovAffectsZoom) { + if (g_Vars.currentplayer->gunzoomfovs[index] < 2 * (g_PlayerDefaultFovY / 60.0f)) { + g_Vars.currentplayer->gunzoomfovs[index] = 2 * (g_PlayerDefaultFovY / 60.0f); + } + } + else { + if (g_Vars.currentplayer->gunzoomfovs[index] < 2) { + g_Vars.currentplayer->gunzoomfovs[index] = 2; + } + } +#endif } }