mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
Fix assert: implicit cast to boolean doesn't work when bit being
tested is outside the low-order byte.
This commit is contained in:
parent
62dd1091ca
commit
b99f993760
1 changed files with 1 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ commitTurn( ModelCtxt* model, XP_S16 turn, TrayTileSet* newTiles,
|
|||
row = pt->row;
|
||||
tile = getModelTileRaw( model, col, row );
|
||||
|
||||
XP_ASSERT( tile & TILE_PENDING_BIT );
|
||||
XP_ASSERT( (tile & TILE_PENDING_BIT) != 0 );
|
||||
|
||||
val = tile & TILE_VALUE_MASK;
|
||||
if ( val > 1 ) { /* somebody else is using this square too! */
|
||||
|
|
Loading…
Reference in a new issue