fix(net): correct NETSTATE enum

This commit is contained in:
fallenoak 2023-02-11 20:59:36 -06:00
parent cd9fe7aee5
commit 72849c04c3
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 2 additions and 2 deletions

View File

@ -1170,7 +1170,7 @@ enum NETSTATE {
NS_INITIALIZING = 1,
NS_INITIALIZED = 2,
NS_STATE_3 = 3,
NS_GETTING_REALMS = 4,
NS_CONNECTING = 4,
};
enum WOW_CONN_STATE {

View File

@ -43,7 +43,7 @@ int32_t NetClient::ConnectInternal(const char* host, uint16_t port) {
SErrDisplayAppFatal("Expected (m_netState == NS_INITIALIZED), got %d", this->m_netState);
}
this->m_netState = NS_GETTING_REALMS;
this->m_netState = NS_CONNECTING;
this->m_serverConnection->Connect(host, port, -1);
// TODO