Removed NetworkManager::isConnectedTO
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user