From af611070c5cf650a1b5527ad4915e42557e377e7 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 29 Oct 2019 11:30:52 +0100 Subject: [PATCH] Fixed syntax error --- src/Battling/Models/Battle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battling/Models/Battle.cpp b/src/Battling/Models/Battle.cpp index a5c37d3..6ba41af 100644 --- a/src/Battling/Models/Battle.cpp +++ b/src/Battling/Models/Battle.cpp @@ -6,7 +6,7 @@ const CreatureLib::Battling::BattleLibrary *CreatureLib::Battling::Battle::GetLi } bool CreatureLib::Battling::Battle::CanUse(CreatureLib::Battling::BaseTurnChoice *choice) { - if (choice->GetKind() == TurnChoiceKind::Attack) + if (choice->GetKind() == TurnChoiceKind::Attack){ //HOOK: change number of uses needed. return static_cast(choice)->GetAttack()->GetRemainingUses() > 1; }