[colobot] 148/390: Fixed screenshoot loading again
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:39 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 066344dde3e2706df39ee72f56fe39d144f2953b
Author: krzys-h <krzys_h at interia.pl>
Date: Wed Oct 29 21:15:45 2014 +0100
Fixed screenshoot loading again
issue #335
---
src/ui/maindialog.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 6c25902..051cd94 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -4165,7 +4165,7 @@ void CMainDialog::IOUpdateList()
return;
std::string filename = (m_saveList.at(sel) / "screen.png").make_preferred().string();
- boost::replace_all(filename, GetSavegameDir(), GetPHYSFSSavegameDir()); //TODO: Refactor everything to PHYSFS, see issue #334
+ boost::replace_all(filename, CResourceManager::GetSaveLocation()+"/", ""); //TODO: Refactor everything to PHYSFS, see issue #334
filename = "../"+filename;
if ( m_phase == PHASE_WRITE || m_phase == PHASE_WRITEs )
{
--
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