mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +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);
|
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;
|
BuildingFoundation->Get<uint8_t>(DynamicFoundationTypeOffset) = bShow ? Static : StartDisabled;
|
||||||
|
}
|
||||||
|
|
||||||
/* static auto bShowHLODWhenDisabledOffset = BuildingFoundation->GetOffset("bShowHLODWhenDisabled", false);
|
/* static auto bShowHLODWhenDisabledOffset = BuildingFoundation->GetOffset("bShowHLODWhenDisabled", false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user