summaryrefslogtreecommitdiff
path: root/move.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2016-07-03 22:15:44 -0500
committerJohn Fultz <jfultz@wolfram.com>2016-07-03 22:15:44 -0500
commitb7ef6d7b81191e123e0ad8a35ae561c962e77945 (patch)
tree0afead0851cdf481cfbefb00b42b6b8a9d27d1ac /move.cpp
parent50c4a8cd619d0da78a1a4012d2f688dea4c7ec27 (diff)
Fix miscomputed tiles-in-bag in a game with a blind exchange.
Diffstat (limited to 'move.cpp')
-rw-r--r--move.cpp2
1 files changed, 1 insertions, 1 deletions
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