summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-dgn.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-25 16:35:56 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-25 16:35:56 +0200
commite8da5e6c01950dd649f90030a2c77654480e4369 (patch)
treeb8749886499f49f092be6362fe1e42bbabd53bfd /crawl-ref/source/wiz-dgn.cc
parentb15ddc7bf0397d5034f0514c2d76e717da0819ba (diff)
parentfb959798448db7e13e6485f7fece472404f21f0e (diff)
downloadcrawl-ref-e8da5e6c01950dd649f90030a2c77654480e4369.tar.gz
crawl-ref-e8da5e6c01950dd649f90030a2c77654480e4369.zip
Merge branch 'master' into portal_branches
Diffstat (limited to 'crawl-ref/source/wiz-dgn.cc')
-rw-r--r--crawl-ref/source/wiz-dgn.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/wiz-dgn.cc b/crawl-ref/source/wiz-dgn.cc
index 84ca750f58..d0e290eba7 100644
--- a/crawl-ref/source/wiz-dgn.cc
+++ b/crawl-ref/source/wiz-dgn.cc
@@ -247,9 +247,7 @@ bool wizard_create_feature(const coord_def& pos)
}
if (int feat_num = atoi(specs))
- {
feat = static_cast<dungeon_feature_type>(feat_num);
- }
else
{
std::string name = lowercase_string(specs);
@@ -735,7 +733,7 @@ void debug_test_explore()
_debug_kill_traps();
_debug_destroy_doors();
- forget_map(100);
+ forget_map();
// Remember where we are now.
const coord_def where = you.pos();