mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-19 03:20:11 +03:00
fix(net): correct NETSTATE enum
This commit is contained in:
parent
cd9fe7aee5
commit
72849c04c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user