From 9258f81405dd8080737d45fc72b365eac4154749 Mon Sep 17 00:00:00 2001 From: dominik Date: Mon, 13 Sep 2004 22:04:20 +0000 Subject: [PATCH] (svn r239) Fix: [ 1025361 ] PERSONAL_DIR is created at startup now --- unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unix.c b/unix.c index 06aa7b9dac..829d53bbd9 100644 --- a/unix.c +++ b/unix.c @@ -485,7 +485,8 @@ void DeterminePaths() _config_file = str_fmt("%sopenttd.cfg", _path.personal_dir); - // make (auto)save and scenario folder + // create necessary folders + mkdir(_path.personal_dir, 0755); mkdir(_path.save_dir, 0755); mkdir(_path.autosave_dir, 0755); mkdir(_path.scenario_dir, 0755);