summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-dgn.h
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-08-17 06:11:53 +0200
committerNeil Moore <neil@s-z.org>2013-08-18 14:12:13 -0400
commit24cb6617be35e92822dbaf2010105005292d45d2 (patch)
tree570d20418b80472c17b025723f099694fd85e6a0 /crawl-ref/source/wiz-dgn.h
parente9e13ee355ecbce5e72d7d0e87dd5d44dce57f67 (diff)
downloadcrawl-ref-24cb6617be35e92822dbaf2010105005292d45d2.tar.gz
crawl-ref-24cb6617be35e92822dbaf2010105005292d45d2.zip
Make &( call &T instead when invoked for trap feature
debug_make_trap now has a return value and pos argument to match other debug_make_* utilities that also do not use it. Support "any" and "random" as trap name. This also fixes #4734 [moving after &( undiscovered_trap crashes].
Diffstat (limited to 'crawl-ref/source/wiz-dgn.h')
-rw-r--r--crawl-ref/source/wiz-dgn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-dgn.h b/crawl-ref/source/wiz-dgn.h
index 64f2073aff..bc481f0007 100644
--- a/crawl-ref/source/wiz-dgn.h
+++ b/crawl-ref/source/wiz-dgn.h
@@ -21,7 +21,7 @@ void wizard_interlevel_travel();
void wizard_list_levels();
void wizard_recreate_level();
void wizard_clear_used_vaults();
-void debug_make_trap(void);
+bool debug_make_trap(const coord_def& pos = you.pos());
bool debug_make_shop(const coord_def& pos = you.pos());
void debug_place_map(bool primary);
void wizard_primary_vault();