Fixed last players turn in client - do not update for blinds.

This commit is contained in:
lotodore
2007-11-01 20:54:32 +00:00
parent 9691a6f263
commit 7cff145cd3
+2 -1
View File
@@ -937,6 +937,8 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptr<NetP
actionDoneData.playerAction,
actionDoneData.totalPlayerBet - tmpPlayer->getMySet());
}
// 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_ptr<NetP
curGame->getCurrentHand()->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) {