diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index e53e1182..fd727f19 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -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 spells;