summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/gamehandler.cpp2
-rw-r--r--src/net/eathena/protocol.h2
-rw-r--r--src/net/tmwa/gamehandler.cpp2
-rw-r--r--src/net/tmwa/protocol.h2
4 files changed, 4 insertions, 4 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
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp
index c7399e9f1..4d6d1998f 100644
--- a/src/net/tmwa/gamehandler.cpp
+++ b/src/net/tmwa/gamehandler.cpp
@@ -159,7 +159,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/tmwa/protocol.h b/src/net/tmwa/protocol.h
index df5425574..f7565a359 100644
--- a/src/net/tmwa/protocol.h
+++ b/src/net/tmwa/protocol.h
@@ -200,7 +200,7 @@
#define CMSG_CHAR_DELETE 0x0068
#define CMSG_MAP_SERVER_CONNECT 0x0072
-#define CMSG_CLIENT_PING 0x007e /**< Send to server with tick */
+#define CMSG_MAP_PING 0x007e /**< Send to server with tick */
#define CMSG_MAP_LOADED 0x007d
#define CMSG_CLIENT_QUIT 0x018A