mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix loot spawn on 1.7.2 probably
This commit is contained in:
@@ -26,9 +26,17 @@ public:
|
||||
return this->ReadBitfieldValue(bAlreadySearchedOffset, bAlreadySearchedFieldMask);
|
||||
}
|
||||
|
||||
FVector& GetLootSpawnLocation_Athena()
|
||||
FVector/*&*/ GetLootSpawnLocation_Athena()
|
||||
{
|
||||
static auto LootSpawnLocation_AthenaOffset = this->GetOffset("LootSpawnLocation_Athena");
|
||||
static auto LootSpawnLocation_AthenaOffset = this->GetOffset("LootSpawnLocation_Athena", false);
|
||||
|
||||
if (LootSpawnLocation_AthenaOffset == -1)
|
||||
{
|
||||
static auto LootSpawnLocationOffset = this->GetOffset("LootSpawnLocation", false);
|
||||
// return this->Get<FVector>(LootSpawnLocationOffset);
|
||||
return FVector();
|
||||
}
|
||||
|
||||
return this->Get<FVector>(LootSpawnLocation_AthenaOffset);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user