Updated RealTimeCombat to Disable Cursor in Combat
This commit is contained in:
parent
89e9e58453
commit
55607a594a
@ -26,12 +26,12 @@ void ARealTimeCombat::StartCombat(AActor* Enemy)
|
||||
HUD->AddToViewport();
|
||||
EnemyActor = Enemy;
|
||||
|
||||
if (APlayerController* PC = Cast<APlayerController>(GetWorld()->GetFirstPlayerController()))
|
||||
{
|
||||
PC->bShowMouseCursor = true;
|
||||
PC->bEnableClickEvents = true;
|
||||
PC->bEnableMouseOverEvents = true;
|
||||
}
|
||||
// if (APlayerController* PC = Cast<APlayerController>(GetWorld()->GetFirstPlayerController()))
|
||||
// {
|
||||
// PC->bShowMouseCursor = true;
|
||||
// PC->bEnableClickEvents = true;
|
||||
// PC->bEnableMouseOverEvents = true;
|
||||
// }
|
||||
}
|
||||
|
||||
void ARealTimeCombat::EndCombat()
|
||||
|
Loading…
Reference in New Issue
Block a user