Server now broadcasts certain input commands to all other clients (for stuff like shooting)

This commit is contained in:
2016-02-09 19:37:42 +01:00
parent d5647ce89c
commit d83190290f
6 changed files with 48 additions and 22 deletions
+5
View File
@@ -218,5 +218,10 @@ int Game::parseArgs(int argc, char* argv[])
m_IsClient = true;
}
// HACK: Right now, client and server are mutually exclusive
if (m_IsServer) {
m_IsClient = false;
}
return 0;
}