Adding models now crashes. Threading
Added a create player event that currently is not used.
This commit is contained in:
stiffly
2015-12-15 11:21:46 +01:00
parent 3f77da4a07
commit b698a0d36f
11 changed files with 161 additions and 66 deletions
+1 -4
View File
@@ -53,9 +53,6 @@ Game::Game(int argc, char* argv[])
m_SystemPipeline->AddSystem<RaptorCopterSystem>();
m_SystemPipeline->AddSystem<PlayerSystem>();
// Invoke network
if(m_Config->Get<bool>("Networking.StartNetwork", false) == true)
boost::thread workerThread(&Game::NetworkFunction, this);
@@ -144,6 +141,6 @@ void Game::NetworkFunction()
}
if (inputMessage == "s" || inputMessage == "S") {
Server m_Server;
m_Server.Start(m_World);
m_Server.Start(m_World, m_EventBroker);
}
}