Skip to content

Commit

Permalink
Remove old comment from Network Rework Patch 2/4
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Feb 17, 2015
1 parent 718bcaf commit 54487b3
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/client.cpp
Expand Up @@ -418,22 +418,6 @@ void Client::step(float dtime)
*pkt << (u16) CLIENT_PROTOCOL_VERSION_MIN << (u16) CLIENT_PROTOCOL_VERSION_MAX;

Send(pkt);

/*SharedBuffer<u8> data(2 + 1 + PLAYERNAME_SIZE + PASSWORD_SIZE + 2 + 2);
writeU16(&data[0], TOSERVER_INIT);
writeU8(&data[2], SER_FMT_VER_HIGHEST_READ);
memset((char*)&data[3], 0, PLAYERNAME_SIZE);
snprintf((char*)&data[3], PLAYERNAME_SIZE, "%s", myplayer->getName());
memset((char*)&data[23], 0, PASSWORD_SIZE);
snprintf((char*)&data[23], PASSWORD_SIZE, "%s", m_password.c_str());
writeU16(&data[51], CLIENT_PROTOCOL_VERSION_MIN);
writeU16(&data[53], CLIENT_PROTOCOL_VERSION_MAX);
// Send as unreliable
Send(1, data, false);*/
}

// Not connected, return
Expand Down

0 comments on commit 54487b3

Please sign in to comment.