diff options
Diffstat (limited to 'src/net/tmwa/messageout.h')
-rw-r--r-- | src/net/tmwa/messageout.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/messageout.h b/src/net/tmwa/messageout.h index da86f06f6..d97851d4a 100644 --- a/src/net/tmwa/messageout.h +++ b/src/net/tmwa/messageout.h @@ -56,6 +56,9 @@ class MessageOut : public Net::MessageOut void writeCoordinates(unsigned short x, unsigned short y, unsigned char direction); + void resetPos() + { mPos = 0; } + private: void expand(size_t size); |