Don't end game when player has no tiles left in tray but still

tentative tiles on board.
This commit is contained in:
ehouse 2007-12-14 13:25:40 +00:00
parent 3b1fcceb16
commit 8668420dd0

View file

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