summaryrefslogtreecommitdiff
path: root/src/net/tmwa/messageout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/messageout.cpp')
-rw-r--r--src/net/tmwa/messageout.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp
index f1784bf1d..64951642d 100644
--- a/src/net/tmwa/messageout.cpp
+++ b/src/net/tmwa/messageout.cpp
@@ -45,6 +45,11 @@ MessageOut::MessageOut(const int16_t id) :
mData = mNetwork->mOutBuffer + CAST_SIZE(mNetwork->mOutSize);
}
+MessageOut::~MessageOut()
+{
+ DEBUGLOG2("writeEnd: ", mPos, "position after end of packet");
+}
+
void MessageOut::expand(const size_t bytes) const
{
mNetwork->mOutSize += CAST_U32(bytes);