diff options
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules.c b/src/modules.c index 60c3b35d..39b41d20 100644 --- a/src/modules.c +++ b/src/modules.c @@ -12,8 +12,6 @@ #include "angband.h" -#ifdef PRIVATE_USER_PATH - static void module_reset_dir_aux(cptr *dir, cptr new_path) { char buf[1024]; @@ -29,8 +27,6 @@ static void module_reset_dir_aux(cptr *dir, cptr new_path) quit(format("Unable to create module dir %s\n", *dir)); } -#endif - void module_reset_dir(cptr dir, cptr new_path) { cptr *d = 0; @@ -51,9 +47,6 @@ void module_reset_dir(cptr dir, cptr new_path) if (!strcmp(dir, "user")) d = &ANGBAND_DIR_USER; if (!strcmp(dir, "note")) d = &ANGBAND_DIR_NOTE; if (!strcmp(dir, "cmov")) d = &ANGBAND_DIR_CMOV; -#ifndef PRIVATE_USER_PATH - if (!strcmp(dir, "save")) d = &ANGBAND_DIR_SAVE; -#else /* PRIVATE_USER_PATH */ if ( #ifdef PRIVATE_USER_PATH_APEX !strcmp(dir, "apex") || @@ -81,7 +74,6 @@ void module_reset_dir(cptr dir, cptr new_path) module_reset_dir_aux(&ANGBAND_DIR_SAVE, new_path); } else -#endif /* PRIVATE_USER_PATH */ { /* Build the new path */ strnfmt(buf, 1024, "%s%s%s%s%s", ANGBAND_DIR_MODULES, PATH_SEP, new_path, PATH_SEP, dir); |