summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
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");
+ }
}
}