aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-02-17 14:49:21 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-02-17 14:49:21 +0100
commit54487b3e70f01dc025816c87bbdbb511fb510719 (patch)
tree5f606c7c4e348b6bbb8b69d6d80b280decc361eb
parent718bcafd5174690a7731f9b04873e9a09f7a47b7 (diff)
downloadminetest-54487b3e70f01dc025816c87bbdbb511fb510719.tar.gz
minetest-54487b3e70f01dc025816c87bbdbb511fb510719.tar.bz2
minetest-54487b3e70f01dc025816c87bbdbb511fb510719.zip
Remove old comment from Network Rework Patch 2/4
-rw-r--r--src/client.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 5ac7b2bc1..38ce54bdc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -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