summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-13 14:08:38 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-13 14:08:38 +0000
commit3719e3c8c35ad7bd924373512c25ce7828d62a03 (patch)
treeb9c4436ae2d9046a45ccba1a2b7ff2d93a56b405 /crawl-ref/source/ouch.cc
parentc92159fe7f003977dee3ea4d16a18176f6435435 (diff)
downloadcrawl-ref-3719e3c8c35ad7bd924373512c25ce7828d62a03.tar.gz
crawl-ref-3719e3c8c35ad7bd924373512c25ce7828d62a03.zip
Fixed bad grammar on shield block messages in melee.
Split up Abyss/Pan/Labyrinth save files. The only practical use right now is to be able to correctly place Abyss and Pan ghosts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1295 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 03d8c2e21c..db94e5d87e 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -857,13 +857,17 @@ void end_game( struct scorefile_entry &se )
if (tmp_file_pairs[level][dungeon])
{
unlink(make_filename( you.your_name, level, dungeon,
- false, false ).c_str());
+ LEVEL_DUNGEON, false ).c_str());
}
}
}
- // temp level, if any
- unlink( make_filename( you.your_name, 0, 0, true, false ).c_str() );
+ // temp levels, if any
+ unlink( make_filename( you.your_name, 0, 0, LEVEL_ABYSS, false ).c_str() );
+ unlink( make_filename( you.your_name, 0, 0,
+ LEVEL_PANDEMONIUM, false ).c_str() );
+ unlink( make_filename( you.your_name, 0, 0,
+ LEVEL_LABYRINTH, false ).c_str() );
// create base file name
std::string basename = get_savedir_filename( you.your_name, "", "" );