diff --git a/xwords4/common/dictnry.c b/xwords4/common/dictnry.c index 08f02fd5c..4854ce13e 100644 --- a/xwords4/common/dictnry.c +++ b/xwords4/common/dictnry.c @@ -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];