Fixed syntax error
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2019-10-29 11:30:52 +01:00
1 parent 99315174a8
commit af611070c5
1 file changed
+1 -1
+1 -1
View File
@@ -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<AttackTurnChoice*>(choice)->GetAttack()->GetRemainingUses() > 1;
}