diff options
Diffstat (limited to 'src/messageout.cpp')
-rw-r--r-- | src/messageout.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/messageout.cpp b/src/messageout.cpp index e8336694..639038a0 100644 --- a/src/messageout.cpp +++ b/src/messageout.cpp @@ -37,6 +37,15 @@ MessageOut::MessageOut(): { } +MessageOut::MessageOut(short id): + mPacket(0), + mData(0), + mDataSize(0), + mPos(0) +{ + writeShort(id); +} + MessageOut::~MessageOut() { if (mPacket) { |