Trying to fix postriver issue in client.
This commit is contained in:
@@ -1966,8 +1966,6 @@ ClientStateRunHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client,
|
|||||||
{
|
{
|
||||||
EndOfHandMessage_t *netEndHand = &tmpPacket->GetMsg()->choice.endOfHandMessage;
|
EndOfHandMessage_t *netEndHand = &tmpPacket->GetMsg()->choice.endOfHandMessage;
|
||||||
|
|
||||||
curGame->getCurrentHand()->setCurrentRound(GAME_STATE_POST_RIVER);
|
|
||||||
|
|
||||||
if (netEndHand->endOfHandType.present == endOfHandType_PR_endOfHandHideCards)
|
if (netEndHand->endOfHandType.present == endOfHandType_PR_endOfHandHideCards)
|
||||||
{
|
{
|
||||||
EndOfHandHideCards_t *hideCards = &netEndHand->endOfHandType.choice.endOfHandHideCards;
|
EndOfHandHideCards_t *hideCards = &netEndHand->endOfHandType.choice.endOfHandHideCards;
|
||||||
@@ -2043,6 +2041,7 @@ ClientStateRunHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client,
|
|||||||
showList.push_back(r->playerId);
|
showList.push_back(r->playerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curGame->getCurrentHand()->setCurrentRound(GAME_STATE_POST_RIVER);
|
||||||
curGame->getCurrentHand()->getCurrentBeRo()->setHighestCardsValue(highestValueOfCards);
|
curGame->getCurrentHand()->getCurrentBeRo()->setHighestCardsValue(highestValueOfCards);
|
||||||
curGame->getCurrentHand()->getBoard()->setPot(0);
|
curGame->getCurrentHand()->getBoard()->setPot(0);
|
||||||
curGame->getCurrentHand()->getBoard()->setWinners(winnerList);
|
curGame->getCurrentHand()->getBoard()->setWinners(winnerList);
|
||||||
|
|||||||
Reference in New Issue
Block a user