diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-02 19:03:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-02 19:03:03 +0300 |
commit | 568c267f26da3e4b183c0190dd048102f4d933c9 (patch) | |
tree | a55b20ce6c536ca6ff051bb08e74d24dba97352f /src/net/eathena/beingrecv.cpp | |
parent | 4117668dc08eec993019dc8f174087ca218b67dc (diff) | |
download | mv-568c267f26da3e4b183c0190dd048102f4d933c9.tar.gz mv-568c267f26da3e4b183c0190dd048102f4d933c9.tar.bz2 mv-568c267f26da3e4b183c0190dd048102f4d933c9.tar.xz mv-568c267f26da3e4b183c0190dd048102f4d933c9.zip |
Sort more packets. Add version checks inside packets.
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index e037f444d..7eaf601e3 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -779,7 +779,8 @@ void BeingRecv::processSkillCasting(Net::MessageIn &msg) const int skillId = msg.readInt16("skill id"); msg.readInt32("property"); // can be used to trigger effect const int castTime = msg.readInt32("cast time"); - msg.readInt8("dispossable"); + if (msg.getVersion() >= 20091124) + msg.readInt8("dispossable"); if (!effectManager) return; |