- updating sqlite-log

- handID in bero is unnecessary; removing parameter value
This commit is contained in:
floty committed 2011-10-21 00:16:43 +00:00
1 parent d14d1b4787
commit 8ae7db3e96
28 files changed
+158 -164

No files matched your search

+9 -1
View File
@@ -367,7 +367,7 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, boost:
setBlinds();
myBeRo = myFactory->createBeRo(this, myID, dealerPosition, smallBlind);
myBeRo = myFactory->createBeRo(this, dealerPosition, smallBlind);
}
@@ -626,6 +626,14 @@ void LocalHand::switchRounds()
myGui->refreshPot();
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);
}
}
if (currentRound < 4) // do not increment past 4
currentRound++;