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

Fixing Nullptr dereference

parent 0177b0c2
Branches
No related tags found
2 merge requests!13Develop,!12Feature/dynamic spawning of overlay
......@@ -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
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