mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
15.00 & 15.10 storm crashing fix
This commit is contained in:
@@ -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!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user