aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-04-07 00:11:10 +0200
committerest31 <MTest31@outlook.com>2015-04-07 00:15:15 +0200
commitf81759792e77e681ab9f844c43fa71f2772c03b7 (patch)
treeee8e1183bbaab9eba66ef7ad9f383351d92ecf6f /src
parent43aab618e52dd26b7d26f05db7df941489917a35 (diff)
downloadminetest-f81759792e77e681ab9f844c43fa71f2772c03b7.tar.gz
minetest-f81759792e77e681ab9f844c43fa71f2772c03b7.tar.bz2
minetest-f81759792e77e681ab9f844c43fa71f2772c03b7.zip
Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY rename
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp4
-rw-r--r--src/network/networkprotocol.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index a0740a1e8..8a018de28 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -391,8 +391,8 @@ void Client::step(float dtime)
Player *myplayer = m_env.getLocalPlayer();
FATAL_ERROR_IF(myplayer == NULL, "Local player not found in environment.");
- // Send TOSERVER_INIT
- // [0] u16 TOSERVER_INIT
+ // Send TOSERVER_INIT_LEGACY
+ // [0] u16 TOSERVER_INIT_LEGACY
// [2] u8 SER_FMT_VER_HIGHEST_READ
// [3] u8[20] player_name
// [23] u8[28] password (new in some version)
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h
index 3a52ddacd..ba934957d 100644
--- a/src/network/networkprotocol.h
+++ b/src/network/networkprotocol.h
@@ -616,7 +616,7 @@ enum ToServerCommand
/*
Sent first after connected.
- [0] u16 TOSERVER_INIT
+ [0] u16 TOSERVER_INIT_LEGACY
[2] u8 SER_FMT_VER_HIGHEST_READ
[3] u8[20] player_name
[23] u8[28] password (new in some version)