From 4c670c3a22bb57454b3a10dfac2bc7a3c23a3791 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 26 May 2013 03:02:44 +1000 Subject: [PATCH] Fixed non-debug builds not compiling --- client/scene_manager.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/client/scene_manager.cpp b/client/scene_manager.cpp index 8465cdc..b471e97 100644 --- a/client/scene_manager.cpp +++ b/client/scene_manager.cpp @@ -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")); }