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,7 +1022,8 @@ void ProtocolGame::parsePlayerInfo(const InputMessagePtr& msg)
{
bool premium = msg->getU8(); // premium
int vocation = msg->getU8(); // vocation
int premiumEx = msg->getU32(); // premium expiration
if(g_game.getFeature(Otc::GamePremiumExpiration))
int premiumEx = msg->getU32(); // premium expiration
int spellCount = msg->getU16();
std::vector<int> spells;