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

This commit is contained in:
Deukhoofd 2019-10-29 11:30:52 +01:00
parent 99315174a8
commit af611070c5
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

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;
}