mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-13 20:03:23 +01:00
Arbitration: fix a bug when a word is checked manually.
The check didn't verify that it is actually possible to play the word with the current rack.
This commit is contained in:
parent
8858c54656
commit
81f2507181
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ Move Arbitration::checkWord(const wstring &iWord,
|
|||
const wstring &iCoords) const
|
||||
{
|
||||
Round round;
|
||||
int res = checkPlayedWord(iCoords, iWord, round, false);
|
||||
int res = checkPlayedWord(iCoords, iWord, round, true);
|
||||
if (res == 0)
|
||||
return Move(round);
|
||||
return Move(iWord, iCoords);
|
||||
|
|
Loading…
Reference in a new issue