diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-26 03:02:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-26 22:01:35 +0300 |
commit | de90520de303659fe639794544c2e19d462b3907 (patch) | |
tree | 36b306a26e2c9dd422aede36f2f9ca3158ffbae2 /src/net/eathena/pethandler.cpp | |
parent | 45527f8597dfac68e914a798184282faeb1493f2 (diff) | |
download | manaplus-de90520de303659fe639794544c2e19d462b3907.tar.gz manaplus-de90520de303659fe639794544c2e19d462b3907.tar.bz2 manaplus-de90520de303659fe639794544c2e19d462b3907.tar.xz manaplus-de90520de303659fe639794544c2e19d462b3907.zip |
Add support for changed item id size in packets.
From some packet version hercules support item id fields as int32.
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 72243057f..29e814ff7 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -135,7 +135,7 @@ void PetHandler::evolution(const Item *const item) const return; } createOutPacket(CMSG_PET_EVOLUTION); - outMsg.writeInt16(CAST_S16(item->getId()), "egg id"); + outMsg.writeItemId(item->getId(), "egg id"); } } // namespace EAthena |