diff options
author | John Fultz <jfultz@wolfram.com> | 2015-09-07 17:23:14 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-09-07 17:23:14 -0500 |
commit | ed46987403dd923d3ba14df6eb676e1e163d1d8d (patch) | |
tree | 08fa8b962ca037f2ecf05b722097e1719c41d173 /board.cpp | |
parent | 5350a57f1be22b28914fca14225c73dac5b30b24 (diff) |
Fix another alphabet length limitation
The 'crosses' code for checking "fit between" plays was
using a 32-bit integer as a bitfield. Now it's using C++
bitfields (including the C++11 all() operation...hopefully
that doesn't cause any problems).
This removes another place in the code that was limiting
alphabets to 32 letters.
Diffstat (limited to 'board.cpp')
-rw-r--r-- | board.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -744,8 +744,8 @@ void Board::prepareEmptyBoard() { m_letters[i][j] = QUACKLE_NULL_MARK; m_isBlank[i][j] = false; - m_vcross[i][j] = Utility::Max; - m_hcross[i][j] = Utility::Max; + m_vcross[i][j].set(); + m_hcross[i][j].set(); } } } |