diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-18 19:19:21 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-18 19:19:21 +0000 |
commit | 2380cbb78d346fa9413c739eeaf20e3171b04221 (patch) | |
tree | 76fbad894e146ddffd6015a300da8460679044f5 /crawl-ref/source/abyss.cc | |
parent | 31998f2e74c5d677c4880447131a45ef7d4abc73 (diff) | |
download | crawl-ref-2380cbb78d346fa9413c739eeaf20e3171b04221.tar.gz crawl-ref-2380cbb78d346fa9413c739eeaf20e3171b04221.zip |
Fixed crash when using travel to waypoint or Lugonu's Corruption on a level
with a Lua marker.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2016 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index 5d1302cfb7..6530860575 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -651,6 +651,8 @@ bool lugonu_corrupt_level(int power) std::auto_ptr<crawl_environment> abyssal(new crawl_environment(env)); env = *backup; backup.reset(NULL); + dungeon_events.clear(); + env.markers.activate_all(false); corrupt_level_features(*abyssal); run_corruption_effects(100); |