summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-17 22:20:13 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-17 22:20:13 +0000
commit48b1b54aaf8c7ccc2b016158f58cf34385dd5068 (patch)
treed415f77648211e196b6f7d8f5075eaf6a1d411db /crawl-ref/source/files.cc
parent78698f0432bba7bdac30f21a17a30c1cf88ae11b (diff)
downloadcrawl-ref-48b1b54aaf8c7ccc2b016158f58cf34385dd5068.tar.gz
crawl-ref-48b1b54aaf8c7ccc2b016158f58cf34385dd5068.zip
Fixed map marker crashes.
Reduced size of Pan demon bands summoned post-Orb (cbus). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2010 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index bc9704669f..1627aecbd6 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -742,7 +742,7 @@ static void close_level_gates()
if (grid_sealable_portal(grd[i][j]))
{
grd[i][j] = DNGN_STONE_ARCH;
- env_remove_markers_at(coord_def(i,j), MAT_ANY);
+ env.markers.remove_markers_at(coord_def(i,j), MAT_ANY);
}
}
}
@@ -947,8 +947,8 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
// Activate markers that want activating, but only when
// entering a new level in an existing game. If we're starting
// a new game, or reloading an existing game,
- // env_activate_markers() is done in acr.cc.
- env_activate_markers();
+ // markers are activated in acr.cc.
+ env.markers.activate_all();
// update corpses and fountains
if (env.elapsed_time != 0.0)