mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-20 21:14:56 +03:00
feat(client): add ClientServices::IsConnected
This commit is contained in:
1 parent
03d772518b
commit
9e4cdf4204
4 files changed
+9
-4
No files matched your search
@@ -111,7 +111,7 @@ void CGlueMgr::ChangeRealm(const REALM_INFO* realmInfo) {
|
||||
|
||||
ClientServices::SelectRealm(realmInfo->name);
|
||||
|
||||
if (ClientServices::Connection()->IsConnected()) {
|
||||
if (ClientServices::IsConnected()) {
|
||||
CGlueMgr::m_disconnectPending = 1;
|
||||
CGlueMgr::m_reconnect = 1;
|
||||
|
||||
@@ -142,7 +142,7 @@ void CGlueMgr::EnterWorld() {
|
||||
|
||||
CCharacterSelection::s_enterWorldIndex = CCharacterSelection::s_selectionIndex;
|
||||
|
||||
if (!ClientServices::Connection()->IsConnected()) {
|
||||
if (!ClientServices::IsConnected()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user