feat(net): use name found in various builds for LOGIN_STATE_15

This commit is contained in:
fallenoak committed 2025-09-29 20:08:49 -05:00
1 parent 2b3458769f
commit b8062f3061
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ GruntLogin::~GruntLogin() {
bool GruntLogin::Connected(const NETADDR& addr) {
this->m_loggedOn = true;
this->m_loginResponse->m_loginState = LOGIN_STATE_15;
this->m_loginResponse->m_loginState = LOGIN_STATE_CONNECTED;
this->m_loginResponse->m_loginResult = LOGIN_OK;
char addrStr[32];
@@ -21,7 +21,7 @@ bool GruntLogin::Connected(const NETADDR& addr) {
// OsNetAddrToStr(addr, addrStr, sizeof(addrStr));
this->m_loginResponse->UpdateLoginStatus(
LOGIN_STATE_15,
LOGIN_STATE_CONNECTED,
LOGIN_OK,
addrStr,
0x0
+1 -1
View File
@@ -66,7 +66,7 @@ enum LOGIN_STATE {
LOGIN_STATE_TOKEN = 12,
LOGIN_STATE_TOKEN_WAIT = 13,
LOGIN_STATE_CHECKINGVERSIONS = 14,
LOGIN_STATE_15 = 15, // RESPONSE_CONNECTED
LOGIN_STATE_CONNECTED = 15,
LOGIN_STATE_DISCONNECTED = 16,
LOGIN_STATE_SURVEY = 17,
LOGIN_STATE_MAX = 18,