From 5f561251d4b74d0cbdd9c5d3ab5a488822e1bf2b Mon Sep 17 00:00:00 2001 From: StevasaurousREX Date: Sat, 29 Feb 2020 13:18:29 -1000 Subject: [PATCH] Update to new api call --- DinoColourCommand/DinoColourCommand/DinoColourCommandCommands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DinoColourCommand/DinoColourCommand/DinoColourCommandCommands.h b/DinoColourCommand/DinoColourCommand/DinoColourCommandCommands.h index 89b0067..4437266 100644 --- a/DinoColourCommand/DinoColourCommand/DinoColourCommandCommands.h +++ b/DinoColourCommand/DinoColourCommand/DinoColourCommandCommands.h @@ -49,7 +49,7 @@ inline void ChangeDinoColour(AShooterPlayerController* player, FString* message, } AActor* Actor = player->GetPlayerCharacter()->GetAimedActor(ECC_GameTraceChannel2, nullptr, 0.0, 0.0, nullptr, nullptr, - false, false); + false, false, false); if (Actor && Actor->IsA(APrimalDinoCharacter::GetPrivateStaticClass())) { APrimalDinoCharacter* Dino = static_cast(Actor);