From 8e16f1a94ec8926ea4dc93f66e26c8512337e005 Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 30 Sep 2008 01:56:14 +0000 Subject: FR 2130547: no ghosts in the ET. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7070 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 9854086d10..e7285e8178 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1839,8 +1839,12 @@ static void _restore_ghost_version( FILE *ghostFile, void save_ghost( bool force ) { - if (!force && you.your_level < 2) + // No ghosts on levels 1, 2, or the ET. + if (!force && (you.your_level < 2 + || you.where_are_you == BRANCH_ECUMENICAL_TEMPLE)) + { return; + } std::string cha_fil = make_filename( "bones", you.your_level, you.where_are_you, -- cgit v1.2.3-54-g00ecf