diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-06 00:51:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 02:02:31 +0300 |
commit | 1c00cf20fb58492489f8137161c552fe4d70d2cb (patch) | |
tree | cbe6d7a04f0582aa55f81bcaa28a68011c582efc /src/net/messagein.h | |
parent | c1b0e49636cbc2a08f7690c33a6367542f6857b3 (diff) | |
download | mv-1c00cf20fb58492489f8137161c552fe4d70d2cb.tar.gz mv-1c00cf20fb58492489f8137161c552fe4d70d2cb.tar.bz2 mv-1c00cf20fb58492489f8137161c552fe4d70d2cb.tar.xz mv-1c00cf20fb58492489f8137161c552fe4d70d2cb.zip |
eathena: read whole packet in processAddQuestsObjectives.
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r-- | src/net/messagein.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h index cc32328cb..ba857ce64 100644 --- a/src/net/messagein.h +++ b/src/net/messagein.h @@ -97,6 +97,8 @@ class MessageIn notfinal virtual void skip(const unsigned int length, const char *const str = nullptr); + void skipToEnd(const char *const str = nullptr); + /** * Reads a string. If a length is not given (-1), it is assumed * that the length of the string is stored in a short at the |