This commit is contained in:
doitux
2007-06-05 21:20:32 +00:00
parent fc948c176d
commit 5cfbda2532
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -64,10 +64,10 @@ public:
int getMySet() const { return mySet;}
int getMyLastRelativeSet() const { return myLastRelativeSet; }
void setMyAction(int theValue) {
void setMyAction(int theValue, bool blind = 0) {
myAction = theValue;
// logging for human player
if(myAction) actualHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
if(myAction && !blind) actualHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
}
int getMyAction() const { return myAction; }