Change Unreal Engine offsets to be modifiable
This commit is contained in:
@@ -25801,8 +25801,9 @@ void UBlueprintPlatformLibrary::SetAllowedDeviceOrientation(EScreenOrientation N
|
||||
|
||||
class UWorld* UWorld::GetWorld()
|
||||
{
|
||||
if constexpr (Offsets::GWorld != 0)
|
||||
return *reinterpret_cast<UWorld**>(InSDKUtils::GetImageBase() + Offsets::GWorld);
|
||||
//if constexpr (Offsets::GWorld != 0)
|
||||
if (Offsets::GWorld != 0)
|
||||
return *reinterpret_cast<UWorld**>(InSDKUtils::GetImageBase() + Offsets::GWorld);
|
||||
|
||||
if (UEngine* Engine = UEngine::GetEngine())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user