Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY rename
parent
43aab618e5
commit
f81759792e
|
@ -391,8 +391,8 @@ void Client::step(float dtime)
|
||||||
Player *myplayer = m_env.getLocalPlayer();
|
Player *myplayer = m_env.getLocalPlayer();
|
||||||
FATAL_ERROR_IF(myplayer == NULL, "Local player not found in environment.");
|
FATAL_ERROR_IF(myplayer == NULL, "Local player not found in environment.");
|
||||||
|
|
||||||
// Send TOSERVER_INIT
|
// Send TOSERVER_INIT_LEGACY
|
||||||
// [0] u16 TOSERVER_INIT
|
// [0] u16 TOSERVER_INIT_LEGACY
|
||||||
// [2] u8 SER_FMT_VER_HIGHEST_READ
|
// [2] u8 SER_FMT_VER_HIGHEST_READ
|
||||||
// [3] u8[20] player_name
|
// [3] u8[20] player_name
|
||||||
// [23] u8[28] password (new in some version)
|
// [23] u8[28] password (new in some version)
|
||||||
|
|
|
@ -616,7 +616,7 @@ enum ToServerCommand
|
||||||
/*
|
/*
|
||||||
Sent first after connected.
|
Sent first after connected.
|
||||||
|
|
||||||
[0] u16 TOSERVER_INIT
|
[0] u16 TOSERVER_INIT_LEGACY
|
||||||
[2] u8 SER_FMT_VER_HIGHEST_READ
|
[2] u8 SER_FMT_VER_HIGHEST_READ
|
||||||
[3] u8[20] player_name
|
[3] u8[20] player_name
|
||||||
[23] u8[28] password (new in some version)
|
[23] u8[28] password (new in some version)
|
||||||
|
|
Loading…
Reference in New Issue