diff options
author | krzys-h <krzys_h@interia.pl> | 2014-07-24 23:38:13 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-07-24 23:38:13 +0200 |
commit | 9a3cd67c3bb2f7d0d4b83f6a5ac8bbcfedf4207b (patch) | |
tree | fd6401e9192541dc59f6f8d2cb47b9e898974cb3 /src/app/main.cpp | |
parent | 17041e718b35b766df099dfaeaf4e7cc3cc63fa6 (diff) | |
download | colobot-9a3cd67c3bb2f7d0d4b83f6a5ac8bbcfedf4207b.tar.gz colobot-9a3cd67c3bb2f7d0d4b83f6a5ac8bbcfedf4207b.tar.bz2 colobot-9a3cd67c3bb2f7d0d4b83f6a5ac8bbcfedf4207b.zip |
Saving colobot.ini through physfs
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r-- | src/app/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |