From ed46987403dd923d3ba14df6eb676e1e163d1d8d Mon Sep 17 00:00:00 2001 From: John Fultz Date: Mon, 7 Sep 2015 17:23:14 -0500 Subject: 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. --- board.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board.cpp') diff --git a/board.cpp b/board.cpp index bf60e84..452501b 100644 --- a/board.cpp +++ b/board.cpp @@ -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(); } } } -- cgit v1.2.3