mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
thanks jyzo (cant believe im saying this)
This commit is contained in:
@@ -121,8 +121,12 @@ static void ShowFoundation(AActor* BuildingFoundation, bool bShow = true)
|
||||
|
||||
static auto DynamicFoundationTypeOffset = BuildingFoundation->GetOffset("DynamicFoundationType", false);
|
||||
|
||||
if (DynamicFoundationTypeOffset != -1)
|
||||
bool bChangeDynamicFoundationType = Fortnite_Version < 13;
|
||||
|
||||
if (DynamicFoundationTypeOffset != -1 && bChangeDynamicFoundationType)
|
||||
{
|
||||
BuildingFoundation->Get<uint8_t>(DynamicFoundationTypeOffset) = bShow ? Static : StartDisabled;
|
||||
}
|
||||
|
||||
/* static auto bShowHLODWhenDisabledOffset = BuildingFoundation->GetOffset("bShowHLODWhenDisabled", false);
|
||||
|
||||
@@ -272,4 +276,4 @@ public:
|
||||
static int Athena_PickTeamHook(AFortGameModeAthena* GameMode, uint8 preferredTeam, AActor* Controller);
|
||||
static void Athena_HandleStartingNewPlayerHook(AFortGameModeAthena* GameMode, AActor* NewPlayerActor);
|
||||
static void SetZoneToIndexHook(AFortGameModeAthena* GameModeAthena, int OverridePhaseMaybeIDFK);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user