summaryrefslogtreecommitdiff
path: root/src/net/eathena/gamehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 19:35:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 19:35:20 +0300
commit284561a7be192b730fb717ee7903b92a2b1d7dc3 (patch)
tree5c6e7f677aebfe137dcd820e1250fe1e453e6fc2 /src/net/eathena/gamehandler.cpp
parentbeb4ebc9d31b17c9bcfcee17d94fe8a71446a5a6 (diff)
downloadmv-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.gz
mv-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.bz2
mv-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.xz
mv-284561a7be192b730fb717ee7903b92a2b1d7dc3.zip
Replace missing MessageOut creation to createOutPacket.
Diffstat (limited to 'src/net/eathena/gamehandler.cpp')
-rw-r--r--src/net/eathena/gamehandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 6caf57c20..3df214464 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -160,8 +160,8 @@ void GameHandler::quit() const
void GameHandler::ping(const int tick) const
{
- MessageOut msg(CMSG_MAP_PING);
- msg.writeInt32(tick, "tick");
+ createOutPacket(CMSG_MAP_PING);
+ outMsg.writeInt32(tick, "tick");
}
void GameHandler::disconnect2() const