Skip to content

Commit

Permalink
SDK: Fix SuperStruct static not getting assigned...
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jul 7, 2023
1 parent 1103b9a commit 1cdc168
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/sdk/UClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ void UStruct::update_offsets() {
*(sdk::UStruct**)((uintptr_t)struct_class + i) == field_class &&
*(sdk::UStruct**)((uintptr_t)field_class + i) == object_class)
{
s_super_struct_offset = i;
found_super_struct = true;
SPDLOG_INFO("[UStruct] Found SuperStruct at offset 0x{:X}", i);
break;
Expand Down

0 comments on commit 1cdc168

Please sign in to comment.