summaryrefslogtreecommitdiff
path: root/src/net/eathena/messageout.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-19 15:44:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-19 15:44:41 +0300
commit94d65b487d458341e3626bcfa41fa09c1c240d89 (patch)
treedebf415d1ee3314a6a746fc4fe8f296f4f8f5472 /src/net/eathena/messageout.cpp
parent1768a3c449f0bb9ac1533781f5134eebe0f9c458 (diff)
downloadmanaverse-94d65b487d458341e3626bcfa41fa09c1c240d89.tar.gz
manaverse-94d65b487d458341e3626bcfa41fa09c1c240d89.tar.bz2
manaverse-94d65b487d458341e3626bcfa41fa09c1c240d89.tar.xz
manaverse-94d65b487d458341e3626bcfa41fa09c1c240d89.zip
Flush send buffer if it too big.
Diffstat (limited to 'src/net/eathena/messageout.cpp')
-rw-r--r--src/net/eathena/messageout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/messageout.cpp b/src/net/eathena/messageout.cpp
index 795807a3f..a486a02f5 100644
--- a/src/net/eathena/messageout.cpp
+++ b/src/net/eathena/messageout.cpp
@@ -45,6 +45,7 @@ MessageOut::MessageOut(short id):
Net::MessageOut(id)
{
mNetwork = EAthena::Network::instance();
+ mNetwork->fixSendBuffer();
mData = mNetwork->mOutBuffer + mNetwork->mOutSize;
writeInt16(id);