Fixed non-debug builds not compiling

This commit is contained in:
Kayne Ruse
2013-05-26 03:02:44 +10:00
parent 488283be50
commit 4c670c3a22
+1 -11
View File
@@ -13,12 +13,8 @@
#include "splash.hpp"
#include "main_menu.hpp"
#include "in_game.hpp"
#ifdef DEBUG
#include "lobby.hpp"
#include "combat.hpp"
#endif
#include "in_game.hpp"
//-------------------------
//Public access members
@@ -110,12 +106,6 @@ void SceneManager::LoadScene(SceneList sceneIndex) {
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil, &playerID);
break;
#ifdef DEBUG
case SceneList::COMBAT:
activeScene = new Combat();
break;
#endif
default:
throw(std::logic_error("Failed to recognize the scene index"));
}