fix(net): correct NETSTATE enum

This commit is contained in:
fallenoak committed 2023-02-11 20:59:36 -06:00
1 parent cd9fe7aee5
commit 72849c04c3
2 files changed
+2 -2

No files matched your search

+1 -1
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 {
+1 -1
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