summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-18 19:04:39 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-18 19:04:39 +0300
commit66c811e7fc51f67372de620236eee922ebd99527 (patch)
tree6a3c776223461bd589671d1aa7101dd9b035ce62 /src/net/eathena/skillhandler.cpp
parent113e5e803d49d9b38b8031d46b7df5af660c4bd1 (diff)
downloadManaVerse-66c811e7fc51f67372de620236eee922ebd99527.tar.gz
ManaVerse-66c811e7fc51f67372de620236eee922ebd99527.tar.bz2
ManaVerse-66c811e7fc51f67372de620236eee922ebd99527.tar.xz
ManaVerse-66c811e7fc51f67372de620236eee922ebd99527.zip
Add packet CMSG_SKILL_USE_POSITION 0x0af4.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 3eb843933..3c9e7e158 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -29,6 +29,7 @@
#include "debug.h"
extern int packetVersion;
+extern int packetVersionZero;
namespace EAthena
{
@@ -76,6 +77,11 @@ void SkillHandler::usePos(const int id, const int level,
outMsg.writeInt16(CAST_S16(id), "skill id");
outMsg.writeInt16(CAST_S16(x), "x");
outMsg.writeInt16(CAST_S16(y), "y");
+ if (packetVersionZero >= 20180131 ||
+ packetVersion >= 20180207)
+ {
+ outMsg.writeInt8(0, "unknown");
+ }
}
}