some changes in hole cards logging

This commit is contained in:
floty committed 2011-10-22 14:00:33 +00:00
1 parent f707c5eb32
commit a958c4916e
4 files changed
+87 -77

No files matched your search

+1 -7
View File
@@ -627,13 +627,7 @@ void LocalHand::switchRounds()
myGui->refreshSet();
myGui->flipHolecardsAllIn();
// Logging HoleCards
int myCards[2];
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); ++it_c) {
if ((*it_c)->getMyAction() != PLAYER_ACTION_FOLD) {
(*it_c)->getMyCards(myCards);
myLog->logHoleCards(currentRound+1,(*it_c)->getMyID()+1,myCards);
}
}
myLog->logHoleCards(currentRound+1,activePlayerList);
if (currentRound < 4) // do not increment past 4
currentRound++;