mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Don't end game when player has no tiles left in tray but still
tentative tiles on board.
This commit is contained in:
parent
3b1fcceb16
commit
8668420dd0
1 changed files with 1 additions and 1 deletions
|
@ -2090,7 +2090,7 @@ tileCountsOk( ServerCtxt* server )
|
|||
XP_Bool zeroFound = XP_FALSE;
|
||||
|
||||
while ( nPlayers-- ) {
|
||||
XP_U16 count = model_getNumTilesInTray( model, nPlayers );
|
||||
XP_U16 count = model_getNumTilesTotal( model, nPlayers );
|
||||
if ( count == 0 ) {
|
||||
zeroFound = XP_TRUE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue