mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
respawning on older versions
fixed respawning on pre s6, fixed a crash for some s5 builds, work on ai a bit, start on blueprint decompiler
This commit is contained in:
@@ -157,14 +157,14 @@ UPackage* UObject::GetOutermost() const
|
||||
|
||||
bool UObject::IsA(UStruct* otherClass)
|
||||
{
|
||||
UClass* super = ClassPrivate;
|
||||
UStruct* super = ClassPrivate;
|
||||
|
||||
while (super)
|
||||
{
|
||||
if (otherClass == super)
|
||||
return true;
|
||||
|
||||
super = *(UClass**)(__int64(super) + Offsets::SuperStruct);
|
||||
super = super->GetSuperStruct();
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -174,7 +174,7 @@ UFunction* UObject::FindFunction(const std::string& ShortFunctionName)
|
||||
{
|
||||
// We could also loop through children.
|
||||
|
||||
UClass* super = ClassPrivate;
|
||||
UStruct* super = ClassPrivate;
|
||||
|
||||
while (super)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user