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) {
|
if (weapon) {
|
||||||
f32 fov = weapon->aimsettings->zoomfov;
|
f32 fov = weapon->aimsettings->zoomfov;
|
||||||
|
#ifdef PLATFORM_N64
|
||||||
return fov;
|
return fov;
|
||||||
|
#else
|
||||||
|
return fov * (g_PlayerDefaultFovY / 60.0f);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in new issue
Block a user