summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-02 19:03:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-02 19:03:03 +0300
commit568c267f26da3e4b183c0190dd048102f4d933c9 (patch)
treea55b20ce6c536ca6ff051bb08e74d24dba97352f /src/net/eathena/beingrecv.cpp
parent4117668dc08eec993019dc8f174087ca218b67dc (diff)
downloadplus-568c267f26da3e4b183c0190dd048102f4d933c9.tar.gz
plus-568c267f26da3e4b183c0190dd048102f4d933c9.tar.bz2
plus-568c267f26da3e4b183c0190dd048102f4d933c9.tar.xz
plus-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.cpp3
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;