diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index d07b2196..2af242e5 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -2411,7 +2411,7 @@ void gameTableImpl::showMyCards() { HandInterface *currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand(); currentHand->getSeatsList()->front()->getMyCards(tempCardsIntArray); - if( currentHand->getSeatsList()->front()->getMyCardsFlip() == 0 && currentHand->getCurrentRound() == 4 && currentHand->getSeatsList()->front()->getMyActiveStatus() && currentHand->getSeatsList()->front()->getMyAction() != PLAYER_ACTION_FOLD) { + if( currentHand->getSeatsList()->front()->getMyCardsFlip() == 0 && currentHand->getCurrentRound() == 3 && currentHand->getSeatsList()->front()->getMyActiveStatus() && currentHand->getSeatsList()->front()->getMyAction() != PLAYER_ACTION_FOLD) { myStartWindow->getSession()->showMyCards(); diff --git a/src/session.cpp b/src/session.cpp index 44625eca..5c0b2516 100755 --- a/src/session.cpp +++ b/src/session.cpp @@ -462,7 +462,7 @@ void Session::voteKick(bool doKick) void Session::showMyCards() { if (!myNetClient) - return; // only act if client is running. + return; // only act if client is running. myNetClient->SendShowMyCards(); } diff --git a/src/session.h b/src/session.h index a746c0a2..03654ad3 100755 --- a/src/session.h +++ b/src/session.h @@ -87,7 +87,7 @@ public: void kickPlayer(const std::string &playerName); void startVoteKickPlayer(unsigned playerId); void voteKick(bool doKick); - void showMyCards(); + void showMyCards(); void selectServer(unsigned serverId); void setLogin(const std::string &userName, const std::string &password, bool isGuest);