summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-07 12:55:37 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-07 12:55:37 +0200
commitda20b2e3a404112343d229c10fd4f9e7ae86435e (patch)
tree0866a6600e9a9c5fd42d7503dba730c2dc6c3224 /crawl-ref/source/dbg-maps.cc
parent77d4abcafb3fa3251f3380a3c79257d6cecd4750 (diff)
downloadcrawl-ref-da20b2e3a404112343d229c10fd4f9e7ae86435e.tar.gz
crawl-ref-da20b2e3a404112343d229c10fd4f9e7ae86435e.zip
Fix a --mapstat crash on "acquire foo".
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r--crawl-ref/source/dbg-maps.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc
index ec72f16390..b43e5298ad 100644
--- a/crawl-ref/source/dbg-maps.cc
+++ b/crawl-ref/source/dbg-maps.cc
@@ -408,6 +408,8 @@ void generate_map_stats()
// Warn assertions about possible oddities like the artefact list being
// cleared.
you.wizard = true;
+ // Let "acquire foo" have skill aptitudes to work with.
+ you.species = SP_HUMAN;
initialise_branch_depths();
// We have to run map preludes ourselves.