mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 15:39:55 +03:00
fix(net): correct NETSTATE enum
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user