From ccdd838900210bdbc2ca0ae3527759c4f7aa1f4f Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 1 Jan 2013 14:31:04 +0100 Subject: [PATCH] Fixing reset timeout and show own cards messages. --- src/net/common/clientthread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/common/clientthread.cpp b/src/net/common/clientthread.cpp index e9f3ed12..e483f529 100644 --- a/src/net/common/clientthread.cpp +++ b/src/net/common/clientthread.cpp @@ -290,6 +290,7 @@ ClientThread::SendResetTimeout() { boost::shared_ptr packet(new NetPacket); packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ResetTimeoutMessage); + packet->GetMsg()->mutable_resettimeoutmessage(); m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet)); } @@ -324,6 +325,7 @@ ClientThread::SendShowMyCards() { boost::shared_ptr packet(new NetPacket); packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ShowMyCardsRequestMessage); + packet->GetMsg()->mutable_showmycardsrequestmessage(); m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet)); }