[colobot] 75/390: On development builds store savegame data in current directory
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch upstream/latest
in repository colobot.
commit c2b878745360b302dab2a14624a55c6990ad4510
Author: krzys-h <krzys_h at interia.pl>
Date: Mon Sep 29 21:39:21 2014 +0200
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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list