Skip to content

Commit

Permalink
Fix SDK bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyall committed Sep 14, 2024
1 parent a4b60d2 commit 0112586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion P3RFix.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\SMTVFix\src\SDK\Engine_functions.cpp" />
<ClCompile Include="external\safetyhook\safetyhook.cpp" />
<ClCompile Include="external\safetyhook\Zydis.c" />
<ClCompile Include="src\dllmain.cpp" />
<ClCompile Include="src\SDK\Basic.cpp" />
<ClCompile Include="src\SDK\CoreUObject_functions.cpp" />
<ClCompile Include="src\SDK\Engine_functions.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="external\safetyhook\safetyhook.hpp" />
Expand Down
2 changes: 1 addition & 1 deletion src/SDK/Engine_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46915,7 +46915,7 @@ void UExponentialHeightFogComponent::SetVolumetricFogScatteringDistribution(floa

class UWorld* UWorld::GetWorld()
{
if constexpr (Offsets::GWorld != 0)
if (Offsets::GWorld != 0)
return *reinterpret_cast<UWorld**>(InSDKUtils::GetImageBase() + Offsets::GWorld);

if (UEngine* Engine = UEngine::GetEngine())
Expand Down

0 comments on commit 0112586

Please sign in to comment.