mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
add summary when no tiles played too
This commit is contained in:
parent
f7bd5b703e
commit
4a3d85e058
1 changed files with 18 additions and 15 deletions
|
@ -227,10 +227,13 @@ checkScoreMove( ModelCtxt* model, XP_S16 turn, EngineCtxt* engine,
|
|||
XP_ASSERT( player->nPending <= MAX_TRAY_TILES );
|
||||
|
||||
if ( player->nPending == 0 ) {
|
||||
return 0;
|
||||
score = 0;
|
||||
|
||||
if ( !!stream ) {
|
||||
formatSummary( stream, model, 0 );
|
||||
}
|
||||
|
||||
if ( tilesInLine( model, turn, &isHorizontal ) ) {
|
||||
} else if ( tilesInLine( model, turn, &isHorizontal ) ) {
|
||||
MoveInfo moveInfo;
|
||||
|
||||
normalizeMoves( model, turn, isHorizontal, &moveInfo );
|
||||
|
|
Loading…
Add table
Reference in a new issue