Fixing issue with encrypted cards.

This commit is contained in:
lotodore
2010-09-04 12:27:20 +00:00
parent c2ba56aba9
commit 5e9d22f38e
+1 -1
View File
@@ -1713,7 +1713,7 @@ ClientStateWaitHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client
cardDataStream >> tmpHandNum;
if (tmpPlayerId != client->GetGuiPlayerId()
|| tmpGameId != client->GetGameId()
|| tmpHandNum != client->GetGame()->getCurrentHandID())
|| tmpHandNum != client->GetGame()->getCurrentHandID() + 1)
{
throw ClientException(__FILE__, __LINE__, ERR_NET_UNKNOWN_PLAYER_ID, 0);
}