summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-07 20:58:22 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-07 20:58:22 +0530
commitd67ff3694bcd10609d69fb2dfa800f9f151e9955 (patch)
treec93944c0e9caff2d7881fe46919341189cbd1ccd /crawl-ref/source/hiscores.cc
parentf608a02a6646ee7a2f56c83de4c05aa01f9d760e (diff)
downloadcrawl-ref-d67ff3694bcd10609d69fb2dfa800f9f151e9955.tar.gz
crawl-ref-d67ff3694bcd10609d69fb2dfa800f9f151e9955.zip
Set wizmode flag correctly in milestones even for non-wizard builds.
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index bf684601c8..055e61bc4b 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1140,11 +1140,7 @@ void scorefile_entry::init()
gold_found = you.attribute[ATTR_GOLD_FOUND];
gold_spent = you.attribute[ATTR_PURCHASES];
-#ifdef WIZARD
wiz_mode = (you.wizard ? 1 : 0);
-#else
- wiz_mode = 0;
-#endif
}
std::string scorefile_entry::hiscore_line(death_desc_verbosity verbosity) const