adapt log of local game to log of network/internet game

This commit is contained in:
floty committed 2012-12-22 00:19:53 +01:00
1 parent 2b1543a453
commit dc5f7fb495
8 files changed
+30 -40

No files matched your search

+3 -3
View File
@@ -113,10 +113,10 @@ public:
return myLastRelativeSet;
}
void setMyAction(PlayerAction theValue, bool blind = 0) {
void setMyAction(PlayerAction theValue, bool human = 0) {
myAction = theValue;
// logging for human player
if(myAction && !blind) currentHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
// logging for seat 0
if(myAction && human) currentHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, myLastRelativeSet);
}
PlayerAction getMyAction() const {
return myAction;