summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-03-31 17:50:38 +0200
committerBardur Arantsson <bardur@scientician.net>2012-03-29 19:53:57 +0200
commit5253402722be8dcd2aaac95708ff3a28be345bcd (patch)
tree8ec397ca428989e26b5701536c4445e0f12d5958
parentc70d7a8c1fdf97aecc1e2a3a182fa1f3c091520a (diff)
Remove SAVEFILE_USE_UID; it doesn't make sense when all files are stored in $HOME anyway.
-rw-r--r--src/birth.c8
-rw-r--r--src/config.h8
2 files changed, 0 insertions, 16 deletions
diff --git a/src/birth.c b/src/birth.c
index 1a515712..4f2d9adb 100644
--- a/src/birth.c
+++ b/src/birth.c
@@ -3512,11 +3512,7 @@ int load_savefile_names()
/* Build the filename */
-#ifdef SAVEFILE_USE_UID
- strnfmt(tmp, 50, "user.%d.svg", player_uid);
-#else
strcpy(tmp, "global.svg");
-#endif /* SAVEFILE_USE_UID */
path_build(buf, 1024, ANGBAND_DIR_SAVE, tmp);
/* File type is "TEXT" */
@@ -3628,11 +3624,7 @@ void save_savefile_names()
/* Build the filename */
-#ifdef SAVEFILE_USE_UID
- strnfmt(tmp, 50, "user.%d.svg", player_uid);
-#else
strcpy(tmp, "global.svg");
-#endif /* SAVEFILE_USE_UID */
path_build(buf, 1024, ANGBAND_DIR_SAVE, tmp);
/* File type is "TEXT" */
diff --git a/src/config.h b/src/config.h
index 9984d975..9c3f6ede 100644
--- a/src/config.h
+++ b/src/config.h
@@ -255,14 +255,6 @@
#endif
/*
- * On multiuser systems, add the "uid" to savefile names
- */
-#if defined(SET_UID) && !defined(MACH_O_CARBON)
-# define SAVEFILE_USE_UID
-#endif /* SET_UID && !MACH_O_CARBON */
-
-
-/*
* OPTION: For some brain-dead computers with no command line interface,
* namely Macintosh, there has to be some way of "naming" your savefiles.
* The current "Macintosh" hack is to make it so whenever the character