From 9a3cd67c3bb2f7d0d4b83f6a5ac8bbcfedf4207b Mon Sep 17 00:00:00 2001 From: krzys-h Date: Thu, 24 Jul 2014 23:38:13 +0200 Subject: Saving colobot.ini through physfs --- src/app/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app/main.cpp') diff --git a/src/app/main.cpp b/src/app/main.cpp index 6ba8da2..294b306 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -102,6 +102,9 @@ int SDL_MAIN_FUNC(int argc, char *argv[]) { return app->GetExitCode(); } + + manager.SetSaveLocation(systemUtils->GetSaveDir()); + manager.AddLocation(systemUtils->GetSaveDir(), true); int code = 0; @@ -121,6 +124,7 @@ int SDL_MAIN_FUNC(int argc, char *argv[]) delete app; delete systemUtils; + //delete manager; logger.Info("Exiting with code %d\n", code); return code; -- cgit v1.2.3-1-g7c22