take the pawns at home into account when deciding if the user can choose a pawn

This commit is contained in:
2025-01-28 13:37:09 +01:00
parent 3e67b127a0
commit 0f141e1475

View File

@@ -89,7 +89,7 @@ void Engine::nextTurn() {
std::string choice;
bool pawnMoved = false;
switch (currentPlayer.pawnsActive) {
switch (currentPlayer.pawnsActive + currentPlayer.pawnsAtHome) {
// 0 pionków na planszy - musi wyjść pionkiem
case 0: