1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-11 23:55:28 +02:00

Update comments referring to obsolete TOCLIENT_INIT (#16522)

This commit is contained in:
fetsorn
2025-09-29 14:21:52 +03:00
committed by GitHub
parent dd3530dc79
commit e3ec044ed0
2 changed files with 2 additions and 2 deletions

View File

@@ -523,7 +523,7 @@ private:
// The authentication methods we can use to enter sudo mode (=change password)
u32 m_sudo_auth_methods;
// The seed returned by the server in TOCLIENT_INIT is stored here
// The seed returned by the server in TOCLIENT_AUTH_ACCEPT is stored here
u64 m_map_seed = 0;
// Auth data

View File

@@ -192,7 +192,7 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt)
{
// The server didn't like our password. Note, this needs
// to be processed even if the serialization format has
// not been agreed yet, the same as TOCLIENT_INIT.
// not been agreed yet, the same as TOCLIENT_AUTH_ACCEPT.
m_access_denied = true;
if (pkt->getCommand() != TOCLIENT_ACCESS_DENIED) {