Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 831 vs 832 for /trunk/Source Code/Managers/SceneManager.cpp

Diff revisions: vs.
  @@ -4,7 +4,6 @@
4 4
5 5 #include "GUI/Headers/GUI.h"
6 6 #include "Core/Headers/ParamHandler.h"
7 - #include "Core/Headers/XMLEntryData.h"
8 7 #include "Core/Headers/Configuration.h"
9 8 #include "Core/Headers/StringHelper.h"
10 9 #include "Core/Headers/PlatformContext.h"
  @@ -180,7 +179,6 @@
180 179 bool sceneNotLoaded = loadingScene->getState() != ResourceState::RES_LOADED;
181 180
182 181 if (sceneNotLoaded) {
183 - const XMLEntryData& entryData = _platformContext->entryData();
184 182 XML::loadScene(Paths::g_xmlDataLocation + Paths::g_scenesLocation, sceneName, loadingScene, _platformContext->config());
185 183 state = Attorney::SceneManager::load(*loadingScene, sceneName);
186 184 if (state) {
  @@ -755,7 +753,7 @@
755 753
756 754 const stringImpl& sceneName = activeScene.getName();
757 755
758 - stringImpl path = Util::StringFormat("SaveData/%s_", sceneName.c_str());
756 + stringImpl path = Paths::g_saveLocation + sceneName;
759 757 stringImpl savePath = path + "current_save.sav";
760 758 stringImpl bakSavePath = path + "save.bak";
761 759
  @@ -787,7 +785,7 @@
787 785 }
788 786
789 787 const stringImpl& sceneName = activeScene.getName();
790 - stringImpl path = Util::StringFormat("SaveData/%s_", sceneName.c_str());
788 + stringImpl path = Paths::g_saveLocation + sceneName;
791 789 stringImpl savePath = path + "current_save.sav";
792 790 stringImpl bakSavePath = path + "save.bak";
793 791