Skip to content

Commit

Permalink
Update protocolgameparse.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
IcaroPimentel654 committed Nov 5, 2023
1 parent 19affe7 commit dfa5ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/protocolgameparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2408,7 +2408,7 @@ void ProtocolGame::parseChannelEvent(const InputMessagePtr& msg)
void ProtocolGame::parseItemInfo(const InputMessagePtr& msg) const
{
std::vector<std::tuple<ItemPtr, std::string>> list;
const int size = msg->getU8();
const uint8_t size = msg->getU8();
for (int_fast32_t i = 0; i < size; ++i) {
const auto& item = std::make_shared<Item>();
item->setId(msg->getU16());
Expand Down

0 comments on commit dfa5ec8

Please sign in to comment.