summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-05-09 12:52:36 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-05-10 02:26:30 +0200
commit1028c3cfb919214bd514770196d3d7ab84c39231 (patch)
treee14a8af062b74dca9d3271f9b092fca112e57f09 /crawl-ref/source/traps.h
parent9ad8a4c74c350df31a075b05d214a4898fda2ab6 (diff)
downloadcrawl-ref-1028c3cfb919214bd514770196d3d7ab84c39231.tar.gz
crawl-ref-1028c3cfb919214bd514770196d3d7ab84c39231.zip
Traps are never placed on a remote level, so simplify the interface.
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index 3cc2f6dc04..71d8d9dbed 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -37,8 +37,8 @@ bool shaft_known(int depth, bool randomly_placed);
level_id generic_shaft_dest(coord_def pos, bool known);
void handle_items_on_shaft(const coord_def& where, bool open_shaft);
-int num_traps_for_place(const level_id &place = level_id::current());
-trap_type random_trap_for_place(const level_id &place = level_id::current());
+int num_traps_for_place();
+trap_type random_trap_for_place();
int count_traps(trap_type ttyp);
void place_webs(int num, bool is_second_phase = false);