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:
Milxnor
2023-05-20 10:22:47 -04:00
parent bb5a5620e8
commit 33433ea9de
30 changed files with 2082 additions and 77 deletions

View File

@@ -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)
{