Fixing issue with encrypted cards.
This commit is contained in:
1 parent
c2ba56aba9
commit
5e9d22f38e
1 file changed
+1
-1
@@ -1713,7 +1713,7 @@ ClientStateWaitHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client
|
|||||||
cardDataStream >> tmpHandNum;
|
cardDataStream >> tmpHandNum;
|
||||||
if (tmpPlayerId != client->GetGuiPlayerId()
|
if (tmpPlayerId != client->GetGuiPlayerId()
|
||||||
|| tmpGameId != client->GetGameId()
|
|| tmpGameId != client->GetGameId()
|
||||||
|| tmpHandNum != client->GetGame()->getCurrentHandID())
|
|| tmpHandNum != client->GetGame()->getCurrentHandID() + 1)
|
||||||
{
|
{
|
||||||
throw ClientException(__FILE__, __LINE__, ERR_NET_UNKNOWN_PLAYER_ID, 0);
|
throw ClientException(__FILE__, __LINE__, ERR_NET_UNKNOWN_PLAYER_ID, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user