From 8b2b9d56cbcad766611904f5a5064ca673065142 Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Mon, 30 Jan 2023 23:03:50 +0000 Subject: [PATCH] Updated HoldToInitCombat for Unreal Naming Conventions --- .../TurnBasedCombatV2/HoldToInitCombat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/the_twilight_abyss/TurnBasedCombatV2/HoldToInitCombat.cpp b/Source/the_twilight_abyss/TurnBasedCombatV2/HoldToInitCombat.cpp index 22fd2a7..7084e10 100644 --- a/Source/the_twilight_abyss/TurnBasedCombatV2/HoldToInitCombat.cpp +++ b/Source/the_twilight_abyss/TurnBasedCombatV2/HoldToInitCombat.cpp @@ -24,11 +24,11 @@ void UHoldToInitCombat::BeginPlay() Super::BeginPlay(); InitCombatWidget = CreateWidget(GetWorld(), InitCombatWidgetClass); - UInputComponent* playerInputComponent = GetWorld()->GetFirstPlayerController()->InputComponent; + UInputComponent* PlayerInputComponent = GetWorld()->GetFirstPlayerController()->InputComponent; //Bind Right Mouse Button to the function OnRightClickDown - playerInputComponent->BindAction("RightClick", IE_Pressed, this, &UHoldToInitCombat::OnRightClickDown); + PlayerInputComponent->BindAction("RightClick", IE_Pressed, this, &UHoldToInitCombat::OnRightClickDown); //Bind Right Mouse Button to the function OnRightClickUp - playerInputComponent->BindAction("RightClick", IE_Released, this, &UHoldToInitCombat::OnRightClickUp); + PlayerInputComponent->BindAction("RightClick", IE_Released, this, &UHoldToInitCombat::OnRightClickUp); }