Removed NetworkManager::run().

This commit is contained in:
hiker 2015-10-26 18:33:23 +11:00
parent b788aa6e95
commit 5564239773
4 changed files with 0 additions and 11 deletions

View File

@ -791,7 +791,6 @@ int handleCmdLine()
Log::info("main", "Creating a client.");
}
NetworkManager::getInstance<ClientNetworkManager>();
NetworkManager::getInstance()->run();
if(CommandLine::has("--max-players", &n))
UserConfigParams::m_server_max_players=n;

View File

@ -159,7 +159,6 @@ void ClientNetworkManager::run()
pthread_create(m_thread_keyboard, NULL, waitInput, NULL);
#endif
#endif
NetworkManager::run();
Log::info("ClientNetworkManager", "Ready !");
}

View File

@ -31,11 +31,3 @@
NetworkManager::NetworkManager()
{
} // NetworkManager
//----------------------------------------------------------------------------
/** \brief Function to start the Network Manager (start threads).
*/
void NetworkManager::run()
{
} // run

View File

@ -59,7 +59,6 @@ private:
friend class AbstractSingleton<NetworkManager>;
public:
virtual void run();
// Game related functions
virtual bool isServer() = 0;