diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-05 18:06:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-05 18:06:53 +0300 |
commit | f087e7797f16ef2698a49be643b89151c6d83a88 (patch) | |
tree | c54e7a15f61e4210e0093503e8f2507756521370 /src/net/eathena | |
parent | 35742eeead80cd713e5b418b9f701afe5edccee1 (diff) | |
download | manaplus-f087e7797f16ef2698a49be643b89151c6d83a88.tar.gz manaplus-f087e7797f16ef2698a49be643b89151c6d83a88.tar.bz2 manaplus-f087e7797f16ef2698a49be643b89151c6d83a88.tar.xz manaplus-f087e7797f16ef2698a49be643b89151c6d83a88.zip |
Rename packet CMSG_CLIENT_PING into CMSG_MAP_PING.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/gamehandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index d1ff0f955..b8d0ecd8e 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -160,7 +160,7 @@ void GameHandler::quit() const void GameHandler::ping(const int tick) const { - MessageOut msg(CMSG_CLIENT_PING); + MessageOut msg(CMSG_MAP_PING); msg.writeInt32(tick, "tick"); } diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 03de8c3ad..326ed3bad 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -293,7 +293,7 @@ #define CMSG_CHAR_CREATE_PIN 0x08ba #define CMSG_MAP_SERVER_CONNECT 0x089c -#define CMSG_CLIENT_PING 0x035f /**< Send to server with tick */ +#define CMSG_MAP_PING 0x035f /**< Send to server with tick */ #define CMSG_MAP_LOADED 0x007d #define CMSG_CLIENT_QUIT 0x018A |