Removed NetworkManager::isConnectedTO
This commit is contained in:
parent
d45d5a1051
commit
b788aa6e95
@ -66,12 +66,6 @@ public:
|
||||
// raw data management
|
||||
|
||||
// getters
|
||||
// --------------------------------------------------------------------
|
||||
virtual bool isConnectedTo(const TransportAddress& peer)
|
||||
{
|
||||
return STKHost::get()->isConnectedTo(peer);
|
||||
} // isConnectedTo
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
inline bool isClient() { return !isServer(); }
|
||||
|
||||
|
@ -225,7 +225,7 @@ void ClientLobbyRoomProtocol::update()
|
||||
switch (m_state)
|
||||
{
|
||||
case NONE:
|
||||
if (NetworkManager::getInstance()->isConnectedTo(m_server_address))
|
||||
if (STKHost::get()->isConnectedTo(m_server_address))
|
||||
{
|
||||
m_state = LINKED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user