diff options
author | John Fultz <jfultz@wolfram.com> | 2016-07-03 22:15:44 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2016-07-03 22:15:44 -0500 |
commit | b7ef6d7b81191e123e0ad8a35ae561c962e77945 (patch) | |
tree | 0afead0851cdf481cfbefb00b42b6b8a9d27d1ac /move.cpp | |
parent | 50c4a8cd619d0da78a1a4012d2f688dea4c7ec27 (diff) |
Fix miscomputed tiles-in-bag in a game with a blind exchange.
Diffstat (limited to 'move.cpp')
-rw-r--r-- | move.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |