Send list of cards which need to be shown instead of all cards of non-fold players.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user