summaryrefslogtreecommitdiff
path: root/src/net/eathena/messageout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/messageout.cpp')
-rw-r--r--src/net/eathena/messageout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/messageout.cpp b/src/net/eathena/messageout.cpp
index f2b851ad4..e980f1254 100644
--- a/src/net/eathena/messageout.cpp
+++ b/src/net/eathena/messageout.cpp
@@ -38,7 +38,7 @@
namespace EAthena
{
-MessageOut::MessageOut(const int16_t id) :
+MessageOut::MessageOut(const int16_t id, const char *const str) :
Net::MessageOut(id),
mNetwork(EAthena::Network::instance())
{
@@ -46,7 +46,7 @@ MessageOut::MessageOut(const int16_t id) :
mData = mNetwork->mOutBuffer + static_cast<size_t>(mNetwork->mOutSize);
// +++ can be issue. call to virtual member
- writeInt16(id, "packet id");
+ writeInt16(id, str);
}
void MessageOut::expand(const size_t bytes)