mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
15.50
This commit is contained in:
@@ -9,13 +9,13 @@ AFortWeapon* AFortPawn::EquipWeaponDefinition(UFortWeaponItemDefinition* WeaponD
|
||||
|
||||
FGuid TrackerGuid{};
|
||||
|
||||
if (Fortnite_Version < 16)
|
||||
if (Fortnite_Version < 15.50)
|
||||
{
|
||||
struct { UObject* Def; FGuid Guid; AFortWeapon* Wep; } params{ WeaponData, ItemEntryGuid };
|
||||
this->ProcessEvent(EquipWeaponDefinitionFn, ¶ms);
|
||||
return params.Wep;
|
||||
}
|
||||
else if (std::floor(Fortnite_Version) == 16)
|
||||
else if (Fortnite_Version >= 15.50 && Fortnite_Version < 17)
|
||||
{
|
||||
struct { UObject* Def; FGuid Guid; FGuid TrackerGuid; AFortWeapon* Wep; } S16_params{ WeaponData, ItemEntryGuid, TrackerGuid };
|
||||
this->ProcessEvent(EquipWeaponDefinitionFn, &S16_params);
|
||||
|
||||
Reference in New Issue
Block a user