Reset choices on side when executing turn.

This commit is contained in:
2019-11-06 18:06:48 +01:00
parent 5fc2bf564a
commit beac87f981
2 changed files with 2 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ void TurnHandler::ExecuteChoice(const BaseTurnChoice *choice) {
}
switch (choiceKind){
case TurnChoiceKind::Pass: return;
case TurnChoiceKind::Pass: throw NotReachableException();
case TurnChoiceKind::Attack:
return ExecuteAttackChoice(dynamic_cast<const AttackTurnChoice*>(choice));
case TurnChoiceKind::Item: