mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
log info about an assert I've seen
This commit is contained in:
parent
30136e22a1
commit
9e675d49ba
1 changed files with 6 additions and 1 deletions
|
@ -1023,7 +1023,12 @@ model_undoLatestMoves( ModelCtxt* model, XWEnv xwe, PoolContext* pool,
|
|||
model_sortTiles( model, turn );
|
||||
|
||||
if ( model->vol.gi->inDuplicateMode ) {
|
||||
XP_ASSERT( DUP_PLAYER == turn );
|
||||
#ifdef DEBUG
|
||||
if ( DUP_PLAYER != turn ) {
|
||||
XP_LOGFF( "turn: %d", turn );
|
||||
XP_ASSERT( 0 );
|
||||
}
|
||||
#endif
|
||||
model_cloneDupeTrays( model, xwe );
|
||||
}
|
||||
} else if ( entry.moveType == TRADE_TYPE ) {
|
||||
|
|
Loading…
Reference in a new issue