From 90dbd52bfdc05887890738c11159a79239ceb395 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 10 Jun 2015 07:35:39 -0700 Subject: [PATCH] On client, when game ends locally set turn to -1 (nobody) so that display won't be confusing during the interval before the server receives the move and responds with a game-over message. --- xwords4/common/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/common/server.c b/xwords4/common/server.c index c21c9b41b..2c8ec9ad5 100644 --- a/xwords4/common/server.c +++ b/xwords4/common/server.c @@ -1927,6 +1927,7 @@ nextTurn( ServerCtxt* server, XP_S16 nxtTurn ) } else { XP_LOGF( "%s: Doing nothing; waiting for server to end game", __func__ ); + setTurn( server, -1 ); /* I'm the client. Do ++nothing++. */ } }