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