diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:49:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | c2478b07d67b31b16b280d1681a0e39ae50ea77b (patch) | |
tree | bae39159cda5bdee22c18e0bd022e924fe424d41 /src | |
parent | 42ce60575f345d47435f6961d2639a5805fe3ce2 (diff) | |
download | plus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.tar.gz plus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.tar.bz2 plus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.tar.xz plus-c2478b07d67b31b16b280d1681a0e39ae50ea77b.zip |
add comments into messageout about virtual method usage in constructor,
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/messageout.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwa/messageout.cpp | 1 |
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); } |