sqlite-log: deleting unused parameters and implementing logging board cards

This commit is contained in:
floty
2011-02-27 16:34:39 +00:00
parent 22718fad46
commit 9c2dc64fbd
15 changed files with 72 additions and 94 deletions
+3 -3
View File
@@ -267,13 +267,13 @@ ClientPlayer::setMyCardsFlip(bool theValue, int state)
if (myCardsFlip) {
switch(state) {
case 1:
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myID, myCards[0], myCards[1], myCardsValueInt);
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt);
break;
case 2:
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myID, myCards[0], myCards[1]);
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1]);
break;
case 3:
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myID, myCards[0], myCards[1], myCardsValueInt, "has");
currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt, "has");
break;
default:
;