summaryrefslogtreecommitdiffstats
path: root/src/ui/studio.cpp
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2014-10-20 21:15:39 +0200
committerkrzys-h <krzys_h@interia.pl>2014-10-20 21:15:39 +0200
commitc0ac60e4facfc9d7a588dd2a23fe548b7212975b (patch)
treea72cc9810b179061f7603ae013cff5d80135b0aa /src/ui/studio.cpp
parentcf7be276dcfac10891422773cee79da9a5e09d6c (diff)
downloadcolobot-c0ac60e4facfc9d7a588dd2a23fe548b7212975b.tar.gz
colobot-c0ac60e4facfc9d7a588dd2a23fe548b7212975b.tar.bz2
colobot-c0ac60e4facfc9d7a588dd2a23fe548b7212975b.zip
Fixed save directories in things not yet refactored to use PHYSFS
Diffstat (limited to 'src/ui/studio.cpp')
-rw-r--r--src/ui/studio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/studio.cpp b/src/ui/studio.cpp
index abe4e5c..01ffd6a 100644
--- a/src/ui/studio.cpp
+++ b/src/ui/studio.cpp
@@ -1533,7 +1533,7 @@ std::string CStudio::SearchDirectory(bool bCreate)
}
else
{
- sprintf(dir, "%s/%s/Program/", m_main->GetSavegameDir(), m_main->GetGamerName());
+ sprintf(dir, "%s/%s/Program/", m_main->GetPHYSFSSavegameDir(), m_main->GetGamerName());
}
fs::path path = fs::path(dir);