take the pawns at home into account when deciding if the user can choose a pawn
This commit is contained in:
@@ -89,7 +89,7 @@ void Engine::nextTurn() {
|
|||||||
|
|
||||||
std::string choice;
|
std::string choice;
|
||||||
bool pawnMoved = false;
|
bool pawnMoved = false;
|
||||||
switch (currentPlayer.pawnsActive) {
|
switch (currentPlayer.pawnsActive + currentPlayer.pawnsAtHome) {
|
||||||
|
|
||||||
// 0 pionków na planszy - musi wyjść pionkiem
|
// 0 pionków na planszy - musi wyjść pionkiem
|
||||||
case 0:
|
case 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user