max payne - FOV error still appeared :(
@@ -454,6 +454,12 @@ DWORD WINAPI Init(LPVOID bDelay)
auto FOVHook = [](uintptr_t _this, uintptr_t edx) -> float
{
Screen.fFieldOfView = *(float*)(_this + 88) * Screen.fDynamicScreenFieldOfViewScale;
+ if (Screen.fFieldOfView < 1.0f)
+ Screen.fFieldOfView = 1.0f;
+ else
+ if (Screen.fFieldOfView > 180.0f)
+ Screen.fFieldOfView = 180.0f;
+
return Screen.fFieldOfView;
};
