adapt log of local game to log of network/internet game
This commit is contained in:
1 parent
2b1543a453
commit
dc5f7fb495
8 files changed
+30
-40
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user