From 8668420dd098bc2925f912224333d7d015723a29 Mon Sep 17 00:00:00 2001 From: ehouse Date: Fri, 14 Dec 2007 13:25:40 +0000 Subject: [PATCH] Don't end game when player has no tiles left in tray but still tentative tiles on board. --- xwords4/common/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/server.c b/xwords4/common/server.c index ff3762252..707f1fa3e 100644 --- a/xwords4/common/server.c +++ b/xwords4/common/server.c @@ -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;