Skip to content

Commit

Permalink
Update src/client/protocolgameparse.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Luan Luciano <[email protected]>
  • Loading branch information
kokekanon and luanluciano93 authored Nov 25, 2024
1 parent d6bcada commit 7d4df98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/client/protocolgameparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3829,9 +3829,8 @@ void ProtocolGame::parseCyclopediaHousesInfo(const InputMessagePtr& msg)
msg->getU8(); // 0x01
msg->getU32(); // houseClientId

const uint16_t size = msg->getU16(); // g_game().map.houses.getHouses()

for (auto i = 0; i < size; ++i) {
const uint16_t housesList = msg->getU16(); // g_game().map.houses.getHouses()
for (auto i = 0; i < housesList; ++i) {
msg->getU32(); // getClientId
}
// TO-DO Lua // Otui
Expand Down

0 comments on commit 7d4df98

Please sign in to comment.