summaryrefslogtreecommitdiff
path: root/src/net/tmwa/messageout.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-12 16:56:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-12 16:56:14 +0300
commit2b5db5baf923a0c822e7ee048f218fd264e91f19 (patch)
tree1d9590f40e9ba0ee32e5441d6c2d69f82f58ba3f /src/net/tmwa/messageout.h
parent7ff1b993bfc1e65a2e2d44bbcfc6444421aa69a2 (diff)
downloadmanaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.gz
manaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.bz2
manaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.xz
manaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.zip
Add missing packet field comments.
Diffstat (limited to 'src/net/tmwa/messageout.h')
-rw-r--r--src/net/tmwa/messageout.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/messageout.h b/src/net/tmwa/messageout.h
index 0825488d6..f24b845ee 100644
--- a/src/net/tmwa/messageout.h
+++ b/src/net/tmwa/messageout.h
@@ -50,11 +50,11 @@ class MessageOut final : public Net::MessageOut
/**< Writes a short. */
void writeInt16(const int16_t value,
- const char *const str = nullptr);
+ const char *const str);
/**< Writes a long. */
void writeInt32(const int32_t value,
- const char *const str = nullptr);
+ const char *const str);
/**
* Encodes coordinates and direction in 3 bytes.
@@ -62,7 +62,7 @@ class MessageOut final : public Net::MessageOut
void writeCoordinates(const uint16_t x,
const uint16_t y,
unsigned char direction,
- const char *const str = nullptr);
+ const char *const str);
void resetPos()
{ mPos = 0; }