From df422c0991e80d8c579522e727a6693b5b637865 Mon Sep 17 00:00:00 2001 From: A-Syntax Date: Sat, 4 Feb 2017 06:05:03 -0500 Subject: [PATCH] Update protocolgameparse.cpp (#777) The vocation id was not being received by the client. https://github.com/otland/forgottenserver/issues/1982 --- src/client/protocolgameparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index 73425758..0687f24d 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -1305,9 +1305,9 @@ void ProtocolGame::parsePremiumTrigger(const InputMessagePtr& msg) void ProtocolGame::parsePlayerInfo(const InputMessagePtr& msg) { bool premium = msg->getU8(); // premium - int vocation = msg->getU8(); // vocation if(g_game.getFeature(Otc::GamePremiumExpiration)) int premiumEx = msg->getU32(); // premium expiration used for premium advertisement + int vocation = msg->getU8(); // vocation int spellCount = msg->getU16(); std::vector spells;