summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-07 01:56:42 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-07 01:56:42 +0530
commitd3ddbed53a83c9758bdf073040ca30eb7121d46f (patch)
tree857f8c61a42333f9cbe345b34f0b9f483c5cc6bc /crawl-ref/source/exclude.cc
parent48db0ad946942d058b18646a7236cce9ddc5809b (diff)
downloadcrawl-ref-d3ddbed53a83c9758bdf073040ca30eb7121d46f.tar.gz
crawl-ref-d3ddbed53a83c9758bdf073040ca30eb7121d46f.zip
Don't update travel cache when changing excludes. TC is updated anyway before interlevel travel and when changing levels.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index d38ded17b3..7fed0efc16 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -378,8 +378,6 @@ static void _tile_exclude_gmap_update(const coord_def &p)
static void _exclude_update()
{
- LevelInfo &li = travel_cache.get_level_info(level_id::current());
- li.update();
set_level_exclusion_annotation(curr_excludes.get_exclusion_desc());
}