Fix savegame path problem introduced in r3431 and patch #928 which made
us save savegames in the music directory(!). git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3439 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
49cc91b0ef
commit
437e22e817
|
@ -860,8 +860,8 @@ int main(int argc, char *argv[])
|
|||
/*** Initialize directory structure ***/
|
||||
make_dir(ScreenDumpPath, "screendumps", NULL);
|
||||
make_dir(SaveGamePath, "savegame", NULL);
|
||||
make_dir(SaveGamePath, "maps", NULL); //MUST have this to prevent crashes when getting map
|
||||
make_dir(SaveGamePath, "music", NULL);
|
||||
PHYSFS_mkdir("maps"); // MUST have this to prevent crashes when getting map
|
||||
PHYSFS_mkdir("music");
|
||||
make_dir(MultiPlayersPath, "multiplay", NULL);
|
||||
make_dir(MultiPlayersPath, "multiplay", "players");
|
||||
make_dir(MultiForcesPath, "multiplay", "forces");
|
||||
|
|
Loading…
Reference in New Issue