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/tmwa/gamehandler.cpp | |
parent | beb4ebc9d31b17c9bcfcee17d94fe8a71446a5a6 (diff) | |
download | manaplus-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.gz manaplus-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.bz2 manaplus-284561a7be192b730fb717ee7903b92a2b1d7dc3.tar.xz manaplus-284561a7be192b730fb717ee7903b92a2b1d7dc3.zip |
Replace missing MessageOut creation to createOutPacket.
Diffstat (limited to 'src/net/tmwa/gamehandler.cpp')
-rw-r--r-- | src/net/tmwa/gamehandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp index 65ff13fb8..7a24038cc 100644 --- a/src/net/tmwa/gamehandler.cpp +++ b/src/net/tmwa/gamehandler.cpp @@ -159,8 +159,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 |