From: TerminalHash Date: Sun, 27 Aug 2023 21:01:42 +0000 (+0300) Subject: saves: move saves dir to data/saves X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=5d01abb1a3795cd4e4769d8d78841372be8fbcf0;p=d2df-sdl.git saves: move saves dir to data/saves (forum request theme: 2386) --- diff --git a/src/game/g_main.pas b/src/game/g_main.pas index e74af9a..3d7ee91 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -346,7 +346,7 @@ begin rwdir := ParamStr(i); (* RW *) AddDir(LogDirs, e_CatPath(rwdir, 'logs')); - AddDir(SaveDirs, e_CatPath(rwdir, 'data')); + AddDir(SaveDirs, e_CatPath(rwdir, 'data/saves')); AddDir(CacheDirs, e_CatPath(rwdir, 'data/cache')); AddDir(ConfigDirs, e_CatPath(rwdir, '')); AddDir(MapDownloadDirs, e_CatPath(rwdir, 'maps/downloads')); @@ -404,7 +404,7 @@ begin (* RW *) rwdirs := GetDefaultRWDirs(); AddDef(LogDirs, rwdirs, 'logs'); - AddDef(SaveDirs, rwdirs, 'data'); + AddDef(SaveDirs, rwdirs, 'data/saves'); AddDef(CacheDirs, rwdirs, 'data/cache'); AddDef(ConfigDirs, rwdirs, ''); AddDef(MapDownloadDirs, rwdirs, 'maps/downloads');