Skip to content
Snippets Groups Projects
Commit 75487b11 authored by Sebastian Pape's avatar Sebastian Pape
Browse files

Fixing Nullptr dereference

parent 0177b0c2
No related branches found
No related tags found
2 merge requests!13Develop,!12Feature/dynamic spawning of overlay
...@@ -312,7 +312,7 @@ void ACAVEOverlayController::Tick(float DeltaTime) ...@@ -312,7 +312,7 @@ void ACAVEOverlayController::Tick(float DeltaTime)
} }
} }
if (!Head) return; //Display Cluster not initialized if (!Head || !Cave_Origin) return; //Display Cluster not initialized
//Tape Logic //Tape Logic
FVector Shutter_Position = Cave_Origin->GetComponentLocation() - Head->GetComponentLocation(); FVector Shutter_Position = Cave_Origin->GetComponentLocation() - Head->GetComponentLocation();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment