diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-09 14:51:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-09 14:51:14 +0300 |
commit | 8ac73cce3f9808c8fa48b280635104d9587c9c5a (patch) | |
tree | 8bbcce22fb3532c5ac915a3d87eecf41fc3d77bd /src/net/tmwa/messageout.cpp | |
parent | f39df8b1de96c6d6e78d90f2f058318aa7fd998b (diff) | |
download | plus-8ac73cce3f9808c8fa48b280635104d9587c9c5a.tar.gz plus-8ac73cce3f9808c8fa48b280635104d9587c9c5a.tar.bz2 plus-8ac73cce3f9808c8fa48b280635104d9587c9c5a.tar.xz plus-8ac73cce3f9808c8fa48b280635104d9587c9c5a.zip |
Remove virtual method call from MessageOut constructor.
Diffstat (limited to 'src/net/tmwa/messageout.cpp')
-rw-r--r-- | src/net/tmwa/messageout.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp index c0cc0321d..a38080866 100644 --- a/src/net/tmwa/messageout.cpp +++ b/src/net/tmwa/messageout.cpp @@ -35,15 +35,12 @@ namespace TmwAthena { -MessageOut::MessageOut(const int16_t id, const char *const str) : +MessageOut::MessageOut(const int16_t id) : Net::MessageOut(id), mNetwork(TmwAthena::Network::instance()) { mNetwork->fixSendBuffer(); mData = mNetwork->mOutBuffer + static_cast<size_t>(mNetwork->mOutSize); - - // +++ can be issue. call to virtual member - writeInt16(id, str); } void MessageOut::expand(const size_t bytes) |