Merge pull request #64 from Weynbtw/patch-1

15.00 & 15.10 storm crashing fix
This commit is contained in:
Gray
2024-03-08 18:14:38 -05:00
committed by GitHub

View File

@@ -4,7 +4,7 @@
void SetZoneToIndexHook(AFortGameModeAthena* GameModeAthena, int OverridePhaseMaybeIDFK) 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 : std::floor(Fortnite_Version) >= 18 ? 0x248
: 0x1F8; // S13-S14 : 0x1F8; // S13-S14
@@ -170,4 +170,4 @@ void SetZoneToIndexHook(AFortGameModeAthena* GameModeAthena, int OverridePhaseMa
else else
LOG_WARN(LogZone, "Invalid SafeZoneIndicator!"); LOG_WARN(LogZone, "Invalid SafeZoneIndicator!");
} }
} }