Skip to content
Snippets Groups Projects
Commit b3ccceaf authored by Lab1's avatar Lab1
Browse files

minor improvements, needed for UE5 compatibility, but they should not hurt in 4.26

parent cba9ff47
No related branches found
No related tags found
No related merge requests found
......@@ -294,7 +294,7 @@ bool AVAReceiverActor::UpdateRealWorldPose()
return false;
}
AVirtualRealityPawn* VirtualRealityPawn = dynamic_cast<AVirtualRealityPawn*>(PlayerController->AcknowledgedPawn);
AVirtualRealityPawn* VirtualRealityPawn = Cast<AVirtualRealityPawn>(PlayerController->AcknowledgedPawn);
if (VirtualRealityPawn == nullptr)
{
return false;
......
......@@ -63,7 +63,7 @@ public class VAPlugin : ModuleRules
string LibPath = Path.Combine(ModuleDirectory, "..", "VALibrary", "lib");
PublicRuntimeLibraryPaths.Add(LibPath);
if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64))
if (Target.Platform == UnrealTargetPlatform.Win64)
{
// Add the import library
//PublicLibraryPaths.Add("VALibrary/lib");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment