remove masking that was breaking blanks in Polish and I THINK was

redundant.  Add assert to make sure.
This commit is contained in:
ehouse 2004-07-20 15:08:45 +00:00
parent 94f8baeed5
commit dd7b6cf0de

View file

@ -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];