summaryrefslogtreecommitdiff
path: root/src/xtra2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-13 19:12:28 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-17 10:02:09 +0100
commitbc3e558042bccab622ef4df8ec3d0a703b4f8e2e (patch)
treeb0b7c8a5dbc057c59a18ccc598869014416d3829 /src/xtra2.c
parent7520b90e296f265961093506feaac68ae309f6e6 (diff)
Remove unused player ghost/bones code.
Diffstat (limited to 'src/xtra2.c')
-rw-r--r--src/xtra2.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/xtra2.c b/src/xtra2.c
index a3d8471c..0dbc2b02 100644
--- a/src/xtra2.c
+++ b/src/xtra2.c
@@ -4768,26 +4768,6 @@ bool mon_take_hit(int m_idx, int dam, bool *fear, cptr note)
}
}
-#if 0 /* DGDGDG -- pfft */
- /* XXX XXX Mega-Hack -- allow another ghost later
- * Remove the slain bone file */
- if (m_ptr->r_idx == max_r_idx - 1)
- {
- r_ptr->max_num = 1;
-
- /* Delete the bones file */
- sprintf(tmp, "%s%sbone%03d.%03d", ANGBAND_DIR_BONE, PATH_SEP, dungeon_type, dun_level);
-
- /* Grab permission */
- safe_setuid_grab();
-
- /* Remove the bone file */
- fd_kill(tmp);
-
- /* Drop permission */
- safe_setuid_drop();
- }
-#endif
/* If the player kills a Unique, and the notes options are on, write a note */
if ((r_ptr->flags1 & RF1_UNIQUE) && take_notes && auto_notes)
{