diff --git a/src/otclient/const.h b/src/otclient/const.h index 7b72a9d5..f803905f 100644 --- a/src/otclient/const.h +++ b/src/otclient/const.h @@ -119,6 +119,10 @@ namespace Otc InventorySlotRing, InventorySlotAmmo, InventorySlotPurse, + InventorySlotExt1, + InventorySlotExt2, + InventorySlotExt3, + InventorySlotExt4, LastInventorySlot }; diff --git a/src/otclient/protocolgameparse.cpp b/src/otclient/protocolgameparse.cpp index bdb60ade..545797f9 100644 --- a/src/otclient/protocolgameparse.cpp +++ b/src/otclient/protocolgameparse.cpp @@ -42,7 +42,8 @@ void ProtocolGame::parseMessage(const InputMessagePtr& msg) while(!msg->eof()) { opcode = msg->getU8(); - if(!m_gameInitialized && opcode >= Proto::GameServerFirstGameOpcode) { + // must be > so extended will be enabled before GameStart. + if(!m_gameInitialized && opcode > Proto::GameServerFirstGameOpcode) { g_game.processGameStart(); m_gameInitialized = true; }