From 55607a594a07ad1a21274fa2c6f1bfe68de21398 Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Thu, 17 Nov 2022 03:48:56 +0000 Subject: [PATCH] Updated RealTimeCombat to Disable Cursor in Combat --- .../RealTimeCombat/RealTimeCombat.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/the_twilight_abyss/RealTimeCombat/RealTimeCombat.cpp b/Source/the_twilight_abyss/RealTimeCombat/RealTimeCombat.cpp index 0f80131..6719dd1 100644 --- a/Source/the_twilight_abyss/RealTimeCombat/RealTimeCombat.cpp +++ b/Source/the_twilight_abyss/RealTimeCombat/RealTimeCombat.cpp @@ -26,12 +26,12 @@ void ARealTimeCombat::StartCombat(AActor* Enemy) HUD->AddToViewport(); EnemyActor = Enemy; - if (APlayerController* PC = Cast(GetWorld()->GetFirstPlayerController())) - { - PC->bShowMouseCursor = true; - PC->bEnableClickEvents = true; - PC->bEnableMouseOverEvents = true; - } + // if (APlayerController* PC = Cast(GetWorld()->GetFirstPlayerController())) + // { + // PC->bShowMouseCursor = true; + // PC->bEnableClickEvents = true; + // PC->bEnableMouseOverEvents = true; + // } } void ARealTimeCombat::EndCombat()