Connections and disconnections between client and server are functioning

This commit is contained in:
Kayne Ruse
2013-05-24 15:39:42 +10:00
parent 0b2af1d80f
commit 1ab963099d
10 changed files with 63 additions and 15 deletions
+2 -2
View File
@@ -104,10 +104,10 @@ void SceneManager::LoadScene(SceneList sceneIndex) {
activeScene = new MainMenu(&configUtil, &surfaceMgr);
break;
case SceneList::LOBBY:
activeScene = new Lobby(&configUtil, &surfaceMgr, &netUtil);
activeScene = new Lobby(&configUtil, &surfaceMgr, &netUtil, &playerID);
break;
case SceneList::INGAME:
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil);
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil, &playerID);
break;
#ifdef DEBUG