Skip to content

Commit 860f731

Browse files
committed
Update offsets for Version 1.05 (29/07/2016)
1 parent 31b2a78 commit 860f731

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

JustFOV/Model.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public bool FovHackEnabled
7777
get
7878
{
7979
return _fovHackEnabled;
80-
}
80+
}
8181
}
8282

8383
#endregion
@@ -170,8 +170,17 @@ private float GetFov()
170170
// Or maybe I just have the wrong call
171171
// But I was not able to acquire the versions used previously, so ye
172172

173-
private readonly IntPtr _cameraManagerPtr = new IntPtr(0x142EBEBD0);
174-
private readonly IntPtr _setFovCall = new IntPtr(0x143ADAD71);
173+
//private readonly IntPtr _cameraManagerPtr = new IntPtr(0x142EBEBD0);
174+
//private readonly IntPtr _setFovCall = new IntPtr(0x143ADAD71);
175+
176+
//private const int CurrentCameraOffset = 0x5c0;
177+
//private const int CameraFlagsOffset = 0x55e;
178+
//private const int FovOffset1 = 0x580;
179+
//private const int FovOffset2 = 0x584;
180+
181+
// Patch version 1.05 (29/07/2016)
182+
private readonly IntPtr _cameraManagerPtr = new IntPtr(0x142ED0E20);
183+
private readonly IntPtr _setFovCall = new IntPtr(0x143AEFF41);
175184

176185
private const int CurrentCameraOffset = 0x5c0;
177186
private const int CameraFlagsOffset = 0x55e;

0 commit comments

Comments
 (0)