From 325516c60743ee1241e9ca3d13e4fd8a36d19c94 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 15 Sep 2009 11:02:27 +0000 Subject: Smarter exclusions, yay! * Exclusions are now treated similarly to annotations and automatically added to the overmap (with the monster name if centered on a monster). * Exclusions remember whether they were placed automatically and if so, what monster triggered it. * If a grid that was previously autoexcluded comes back into sight and no longer contains the monster that triggered the autoexclusion (dead, moved away or invisible), the autoexclusion is removed again. I updated the tags, so it should be save compatible but I'm not making any promises. Also fix the Wild magic card not being documented correctly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10679 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 5 ++++- 1 file changed, 4 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 78d86aa5a1..b10808d4a9 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1441,7 +1441,10 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, you.attribute[ATTR_ABYSS_ENTOURAGE] = 0; if (load_mode != LOAD_VISITOR) + { dungeon_events.fire_event(DET_ENTERED_LEVEL); +// set_level_exclusion_annotation(get_exclusion_desc()); + } if (load_mode == LOAD_ENTER_LEVEL) { @@ -1818,7 +1821,7 @@ void restore_game(void) if (travelf) { reader inf(travelf); - travel_cache.load(inf); + travel_cache.load(inf, minorVersion); fclose(travelf); } -- cgit v1.2.3-54-g00ecf