Possibly fixing an issue with send cards.

This commit is contained in:
lotodore
2010-07-18 11:11:27 +00:00
parent e6009f6fc2
commit b2e8c7222d
+2 -1
View File
@@ -1345,11 +1345,12 @@ ServerGameStateWaitNextHand::InternalProcessPacket(boost::shared_ptr<ServerGame>
AfterHandShowCardsMessage_t *netShowCards = &packet->GetMsg()->choice.afterHandShowCardsMessage;
boost::shared_ptr<PlayerInterface> tmpPlayer(curGame.getPlayerByUniqueId(session.playerData->GetUniqueId()));
if (tmpPlayer)
{
SetPlayerResult(netShowCards->playerResult, tmpPlayer);
server->SendToAllButOnePlayers(show, session.sessionData->GetId(), SessionData::Game);
}
}
}
void
ServerGameStateWaitNextHand::TimerTimeout(const boost::system::error_code &ec, boost::shared_ptr<ServerGame> server)