Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY rename
authorest31 <MTest31@outlook.com>
Mon, 6 Apr 2015 22:11:10 +0000 (00:11 +0200)
committerest31 <MTest31@outlook.com>
Mon, 6 Apr 2015 22:15:15 +0000 (00:15 +0200)
src/client.cpp
src/network/networkprotocol.h

index a0740a1e85c7b3d41d29cd95eaf76ef458e0a96e..8a018de288989d8532b3a76ba0af47ce52fc0d05 100644 (file)
@@ -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)
index 3a52ddacd4f5dfebb4a031f3c2af31770aa346af..ba934957d7b70ca31cb67e74127a8f4ee3f7f34a 100644 (file)
@@ -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)