forked from Ports/perfect_dark
port: adjust max zoom range by FOV ini value
This commit is contained in:
1 parent
e540a42c9c
commit
85c1adb258
1 file changed
+4
@@ -209,7 +209,11 @@ f32 currentPlayerGetGunZoomFov(void)
|
||||
|
||||
if (weapon) {
|
||||
f32 fov = weapon->aimsettings->zoomfov;
|
||||
#ifdef PLATFORM_N64
|
||||
return fov;
|
||||
#else
|
||||
return fov * (g_PlayerDefaultFovY / 60.0f);
|
||||
#endif
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user