mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
remove masking that was breaking blanks in Polish and I THINK was
redundant. Add assert to make sure.
This commit is contained in:
parent
94f8baeed5
commit
dd7b6cf0de
1 changed files with 4 additions and 1 deletions
|
@ -66,7 +66,10 @@ dict_getBlankTile( DictionaryCtxt* dict )
|
|||
XP_U16
|
||||
dict_getTileValue( DictionaryCtxt* dict, Tile tile )
|
||||
{
|
||||
tile &= TILE_VALUE_MASK;
|
||||
if ( (tile & TILE_VALUE_MASK) != tile ) {
|
||||
XP_ASSERT( tile == 32 &&
|
||||
tile == dict_getBlankTile( dict ) );
|
||||
}
|
||||
XP_ASSERT( tile < dict->nFaces );
|
||||
tile *= 2;
|
||||
return dict->countsAndValues[tile+1];
|
||||
|
|
Loading…
Add table
Reference in a new issue