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 <krzy...@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

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to