diff options
| -rw-r--r-- | Plugin.cs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1749,8 +1749,8 @@ namespace WorldTuningTool addr = PatternScanner.FindFirst(Pattern.FromString("BA 02 00 00 00 E8 6E C0 80 00 48 8B 74 24 38 48 8B 57 28 48 8D 4F 30 E8 4C 79 B4 FE 48 8B 0D 0D FF A6 03 BA 04 00 00 00 E8 8B 64 3C 00 48 8B 05 D4 01 A7 03 80 B8 FD 46 01 00 00")); Assert(addr == 0x141754438); defaultViewModeLodLimit3 = new Patch(addr + 0x24, [0x7]); - defaultViewModeLodLimit4 = new Patch(0x141DE7CDB + 0x1, [0x7]); - defaultViewModeLodLimit5 = new Patch(0x141E0B1A2 + 0x1, [0x7]); + defaultViewModeLodLimit4 = new Patch((nint)0x141DE7CDB + 0x1, [0x7]); + defaultViewModeLodLimit5 = new Patch((nint)0x141E0B1A2 + 0x1, [0x7]); // Talking to NPC. defaultViewModeLodLimit6 = new Patch((nint)0x14128F1AC + 0x1, [0x7]); |