summaryrefslogtreecommitdiff
path: root/src/net/eathena/messagein.h
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/eathena/messagein.h
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/eathena/messagein.h')
-rw-r--r--src/net/eathena/messagein.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/messagein.h b/src/net/eathena/messagein.h
index da5f57d7d..5ba13ea9c 100644
--- a/src/net/eathena/messagein.h
+++ b/src/net/eathena/messagein.h
@@ -46,7 +46,8 @@ class MessageIn final : public Net::MessageIn
A_DELETE_COPY(MessageIn)
- void postInit(const char *const str);
+ void postInit(const char *const str,
+ const unsigned int version);
/**< Reads a short. */
int16_t readInt16(const char *const str) override final;