mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Update protocolgameparse.cpp (#777)
The vocation id was not being received by the client. https://github.com/otland/forgottenserver/issues/1982
This commit is contained in:
parent
837f461bb1
commit
df422c0991
@ -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<int> spells;
|
||||
|
Loading…
x
Reference in New Issue
Block a user