|
@@ -191,7 +191,7 @@ bool Game::isMoveRepresentedInDie(int player, CollectionOfMoves collectionOfMove
|
|
|
if(player != activePlayer)
|
|
|
{
|
|
|
// if the move equals the sum of the two white die return true, if not return false
|
|
|
- return (collectionOfMoves.white.index == (dice.dice[white1] + dice.dice[white2])) ? true : false;
|
|
|
+ return collectionOfMoves.white.index == dice.dice[white1] + dice.dice[white2];
|
|
|
}
|
|
|
// otherwise this is the active player
|
|
|
else
|