summaryrefslogtreecommitdiffstats
path: root/src/app/system_windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/system_windows.cpp')
-rw-r--r--src/app/system_windows.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/app/system_windows.cpp b/src/app/system_windows.cpp
index f48d4e0..ffaa18a 100644
--- a/src/app/system_windows.cpp
+++ b/src/app/system_windows.cpp
@@ -128,22 +128,3 @@ std::string CSystemUtilsWindows::GetProfileFileLocation()
return profileFile;
}
-
-std::string CSystemUtilsWindows::GetSavegameDirectoryLocation()
-{
- std::string savegameDir;
-
- char* envUSERPROFILE = getenv("USERPROFILE");
- if (envUSERPROFILE == NULL)
- {
- savegameDir = "savegame";
- }
- else
- {
- savegameDir = std::string(envUSERPROFILE) + "\\colobot\\savegame";
- }
- GetLogger()->Trace("Saved game files are going to %s\n", savegameDir.c_str());
-
- return savegameDir;
-}
-