Fixing double name in protocol.

This commit is contained in:
lotodore
2010-09-04 12:36:39 +00:00
parent 5e9d22f38e
commit bcdc089390
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -1699,8 +1699,8 @@ ClientStateWaitHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client
string plainCards;
if (!CryptHelper::AES128Decrypt((const unsigned char *)userPassword.c_str(),
(unsigned)userPassword.size(),
encryptedCards->encryptedCards.buf,
encryptedCards->encryptedCards.size,
encryptedCards->cardData.buf,
encryptedCards->cardData.size,
plainCards))
{
throw ClientException(__FILE__, __LINE__, ERR_NET_UNKNOWN_PLAYER_ID, 0);