Skip to content

Commit

Permalink
Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY r…
Browse files Browse the repository at this point in the history
…ename
  • Loading branch information
est31 committed Apr 6, 2015
1 parent 43aab61 commit f817597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/client.cpp
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/network/networkprotocol.h
Expand Up @@ -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)
Expand Down

1 comment on commit f817597

@nerzhul
Copy link
Member

@nerzhul nerzhul commented on f817597 Apr 7, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Please sign in to comment.