mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
Board: allow one more type of invalid word when previewing a played word
This commit is contained in:
parent
c34bd76918
commit
2db1732f7a
1 changed files with 3 additions and 2 deletions
|
@ -239,8 +239,9 @@ int Board::checkRoundAux(const Matrix<Tile> &iTilesMx,
|
|||
return 8;
|
||||
|
||||
// Is the word an extension of another word?
|
||||
if (!iTilesMx[row][col - 1].isEmpty() ||
|
||||
!iTilesMx[row][col + iRound.getWordLen()].isEmpty())
|
||||
if (checkJunction &&
|
||||
(!iTilesMx[row][col - 1].isEmpty() ||
|
||||
!iTilesMx[row][col + iRound.getWordLen()].isEmpty()))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue