diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-31 23:33:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-01 00:08:29 +0300 |
commit | 15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e (patch) | |
tree | 8428836351e6ea64d8f19f9324fd58bcde698ee9 /src/net/messagein.cpp | |
parent | 9b06b6b56522f23eb3752d3a1e099c75ba130fc9 (diff) | |
download | manaplus-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.tar.gz manaplus-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.tar.bz2 manaplus-15f4f0d6fecf4dc38ae1ec07c0abb04c20e22c1e.tar.xz manaplus-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.cpp | 1 |
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) { |