Send list of cards which need to be shown instead of all cards of non-fold players.

This commit is contained in:
lotodore
2010-07-23 15:55:52 +00:00
parent 15b513fb85
commit cc897745c4
5 changed files with 22 additions and 17 deletions
@@ -73,15 +73,15 @@ void LocalBeRoPostRiver::postRiverRun() {
// }
// }
// Spieler ermitteln, welche die Karten auf jeden Fall umdrehen müssen
getMyHand()->getBoard()->determinePlayerNeedToShowCards();
// Spieler ermitteln, welche die Karten auf jeden Fall umdrehen müssen
getMyHand()->getBoard()->determinePlayerNeedToShowCards();
// Pot-Verteilung
getMyHand()->getBoard()->distributePot();
//Pot auf 0 setzen
getMyHand()->getBoard()->setPot(0);
//starte die Animaionsreihe
getMyHand()->getGuiInterface()->postRiverRunAnimation1();
}
+1 -3
View File
@@ -142,9 +142,7 @@ std::list<unsigned>
ClientBoard::getPlayerNeedToShowCards() const
{
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
// TODO returns winners for now.
//return playerNeedToShowCards;
return winners;
return playerNeedToShowCards;
}
void