From 5e9d22f38eead8fd76d24ac04de44fd73459bbda Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 4 Sep 2010 12:27:20 +0000 Subject: [PATCH] Fixing issue with encrypted cards. --- src/net/common/clientstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 32838985..5c2fccb9 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1713,7 +1713,7 @@ ClientStateWaitHand::InternalHandlePacket(boost::shared_ptr 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); }