diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index fd01646d..daa15de0 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -1099,7 +1099,7 @@ ServerGameStateHand::StartNewHand(boost::shared_ptr server) netHandStart->yourCards.present = yourCards_PR_encryptedCards; EncryptedCards_t *encryptedCards = &netHandStart->yourCards.choice.encryptedCards; OCTET_STRING_fromBuf( - &encryptedCards->encryptedCards, + &encryptedCards->cardData, (const char *)&tmpCipher[0], (int)tmpCipher.size()); }