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)); }