summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-31 23:33:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-01 00:08:29 +0300
commit15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e (patch)
tree8428836351e6ea64d8f19f9324fd58bcde698ee9 /src/net/messagein.cpp
parent9b06b6b56522f23eb3752d3a1e099c75ba130fc9 (diff)
downloadmv-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.tar.gz
mv-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.tar.bz2
mv-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.tar.xz
mv-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.zip
Set packet version based on packet id and current packet version into version in MessageIn.
Only for hercules.
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r--src/net/messagein.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index db0318a4d..8c2e32a75 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -42,6 +42,7 @@ MessageIn::MessageIn(const char *const data,
mData(data),
mLength(length),
mPos(0),
+ mVersion(0),
mId(0),
mIgnore(false)
{