diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-21 19:35:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-21 19:35:20 +0300 |
commit | 284561a7be192b730fb717ee7903b92a2b1d7dc3 (patch) | |
tree | 5c6e7f677aebfe137dcd820e1250fe1e453e6fc2 /src/net/eathena/gamehandler.cpp | |
parent | beb4ebc9d31b17c9bcfcee17d94fe8a71446a5a6 (diff) | |
download | plus-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.gz plus-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.bz2 plus-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.xz plus-284561a7be192b730fb717ee7903b92a2b1d7dc3.zip |
Replace missing MessageOut creation to createOutPacket.
Diffstat (limited to 'src/net/eathena/gamehandler.cpp')
-rw-r--r-- | src/net/eathena/gamehandler.cpp | 4 |
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 |