summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 16:49:32 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commitc2478b07d67b31b16b280d1681a0e39ae50ea77b (patch)
treebae39159cda5bdee22c18e0bd022e924fe424d41
parent42ce60575f345d47435f6961d2639a5805fe3ce2 (diff)
downloadmanaplus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.tar.gz
manaplus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.tar.bz2
manaplus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.tar.xz
manaplus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.zip
add comments into messageout about virtual method usage in constructor,
-rw-r--r--src/net/eathena/messageout.cpp1
-rw-r--r--src/net/tmwa/messageout.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/messageout.cpp b/src/net/eathena/messageout.cpp
index 2f2f5b58a..451f62304 100644
--- a/src/net/eathena/messageout.cpp
+++ b/src/net/eathena/messageout.cpp
@@ -45,6 +45,7 @@ MessageOut::MessageOut(const int16_t id):
mNetwork->fixSendBuffer();
mData = mNetwork->mOutBuffer + mNetwork->mOutSize;
+ // +++ can be issue. call to virtual member
writeInt16(id);
}
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp
index 2ec81f99c..fa9f2b1e6 100644
--- a/src/net/tmwa/messageout.cpp
+++ b/src/net/tmwa/messageout.cpp
@@ -45,6 +45,7 @@ MessageOut::MessageOut(const int16_t id):
mNetwork->fixSendBuffer();
mData = mNetwork->mOutBuffer + mNetwork->mOutSize;
+ // +++ can be issue. call to virtual member
writeInt16(id);
}