Update protocolgameparse.cpp

This commit is contained in:
djayk1 2014-06-23 12:07:38 -03:00
parent 1a77473e13
commit 85fe5867f3
1 changed files with 2 additions and 1 deletions

View File

@ -1022,6 +1022,7 @@ void ProtocolGame::parsePlayerInfo(const InputMessagePtr& msg)
{ {
bool premium = msg->getU8(); // premium bool premium = msg->getU8(); // premium
int vocation = msg->getU8(); // vocation int vocation = msg->getU8(); // vocation
if(g_game.getFeature(Otc::GamePremiumExpiration))
int premiumEx = msg->getU32(); // premium expiration int premiumEx = msg->getU32(); // premium expiration
int spellCount = msg->getU16(); int spellCount = msg->getU16();