From c2b878745360b302dab2a14624a55c6990ad4510 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Mon, 29 Sep 2014 21:39:21 +0200 Subject: On development builds store savegame data in current directory --- src/app/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/app.cpp b/src/app/app.cpp index 80f178b..b07c3e8 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -149,7 +149,11 @@ CApplication::CApplication() m_dataPath = GetSystemUtils()->GetDataPath(); m_langPath = GetSystemUtils()->GetLangPath(); + #if DEV_BUILD + m_savePath = "saves"; + #else m_savePath = GetSystemUtils()->GetSaveDir(); + #endif m_runSceneName = ""; m_runSceneRank = 0; -- cgit v1.2.3-1-g7c22