From 7cff145cd3d2d7625b1114e0212e996a316514e7 Mon Sep 17 00:00:00 2001 From: lotodore Date: Thu, 1 Nov 2007 20:54:32 +0000 Subject: [PATCH] Fixed last players turn in client - do not update for blinds. --- src/net/common/clientstate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index b1f40961..d8b32d44 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -937,6 +937,8 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrgetMySet()); } + // Update last players turn only after the blinds. + curGame->getCurrentHand()->setLastPlayersTurn(tmpPlayer->getMyID()); } tmpPlayer->setMyAction(actionDoneData.playerAction); @@ -945,7 +947,6 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrgetCurrentHand()->getCurrentBeRo()->setHighestSet(actionDoneData.highestSet); curGame->getCurrentHand()->getBoard()->collectSets(); curGame->getCurrentHand()->switchRounds(); - curGame->getCurrentHand()->setLastPlayersTurn(tmpPlayer->getMyID()); //log blinds sets after setting bigblind-button if (isBigBlind) {