From 81f2507181f06ec4d95e653860c8d0e19fd5a81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Sat, 10 Nov 2012 17:29:24 +0100 Subject: [PATCH] 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. --- game/arbitration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/arbitration.cpp b/game/arbitration.cpp index 41d685b..683e3f6 100644 --- a/game/arbitration.cpp +++ b/game/arbitration.cpp @@ -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);