From 914d4746a4691a85cafbe59ee78f86f82c578628 Mon Sep 17 00:00:00 2001 From: Weyn <105912992+Weynbtw@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:58:41 +0100 Subject: [PATCH] 15.00 & 15.10 storm crashing fix --- Project Reboot 3.0/extra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project Reboot 3.0/extra.cpp b/Project Reboot 3.0/extra.cpp index 0929dde..38d3afc 100644 --- a/Project Reboot 3.0/extra.cpp +++ b/Project Reboot 3.0/extra.cpp @@ -4,7 +4,7 @@ void SetZoneToIndexHook(AFortGameModeAthena* GameModeAthena, int OverridePhaseMaybeIDFK) { - static auto ZoneDurationsOffset = Fortnite_Version >= 15 && Fortnite_Version < 18 ? 0x258 + static auto ZoneDurationsOffset = Fortnite_Version >= 15.20 && Fortnite_Version < 18 ? 0x258 : std::floor(Fortnite_Version) >= 18 ? 0x248 : 0x1F8; // S13-S14 @@ -170,4 +170,4 @@ void SetZoneToIndexHook(AFortGameModeAthena* GameModeAthena, int OverridePhaseMa else LOG_WARN(LogZone, "Invalid SafeZoneIndicator!"); } -} \ No newline at end of file +}