Fixed non-debug builds not compiling
This commit is contained in:
@@ -13,12 +13,8 @@
|
|||||||
|
|
||||||
#include "splash.hpp"
|
#include "splash.hpp"
|
||||||
#include "main_menu.hpp"
|
#include "main_menu.hpp"
|
||||||
#include "in_game.hpp"
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
#include "lobby.hpp"
|
#include "lobby.hpp"
|
||||||
#include "combat.hpp"
|
#include "in_game.hpp"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-------------------------
|
//-------------------------
|
||||||
//Public access members
|
//Public access members
|
||||||
@@ -110,12 +106,6 @@ void SceneManager::LoadScene(SceneList sceneIndex) {
|
|||||||
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil, &playerID);
|
activeScene = new InGame(&configUtil, &surfaceMgr, &netUtil, &playerID);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
case SceneList::COMBAT:
|
|
||||||
activeScene = new Combat();
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw(std::logic_error("Failed to recognize the scene index"));
|
throw(std::logic_error("Failed to recognize the scene index"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user