diff options
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 |