diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 9880c369..a1d6b856 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1097,8 +1097,12 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrsetMyCash(endHandData.playerMoney); + tmpPlayer->setLastMoneyWon(endHandData.moneyWon); + list winnerList; + winnerList.push_back(tmpPlayer->getMyUniqueID()); curGame->getCurrentHand()->getBoard()->setPot(0); + curGame->getCurrentHand()->getBoard()->setWinners(winnerList); client.GetGui().postRiverRunAnimation1(); @@ -1145,9 +1149,10 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrgetMyCardsValueInt() > highestValueOfCards) highestValueOfCards = tmpPlayer->getMyCardsValueInt(); tmpPlayer->setMyCash((*i).playerMoney); - + tmpPlayer->setLastMoneyWon((*i).moneyWon); if ((*i).moneyWon) winnerList.push_back((*i).playerId); + ++i; } curGame->getCurrentHand()->getCurrentBeRo()->setHighestCardsValue(highestValueOfCards);