From b7ef6d7b81191e123e0ad8a35ae561c962e77945 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sun, 3 Jul 2016 22:15:44 -0500 Subject: Fix miscomputed tiles-in-bag in a game with a blind exchange. --- move.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'move.cpp') diff --git a/move.cpp b/move.cpp index 7f77dc5..60e14e4 100644 --- a/move.cpp +++ b/move.cpp @@ -85,7 +85,7 @@ bool Quackle::operator<(const Move &move1, const Move &move2) LetterString Move::usedTiles() const { - return m_isChallengedPhoney? LetterString() : String::usedTiles(m_tiles); + return (m_isChallengedPhoney || action == BlindExchange) ? LetterString() : String::usedTiles(m_tiles); } LetterString Move::wordTiles() const -- cgit v1.2.3