summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stairs.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-27 05:44:01 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-11-04 18:49:50 +0100
commit3ad741cc1d0637798b73afad00f45f3e24f31fda (patch)
tree6982bfafacd4ed85c5702157b30a6a7a5cbfa060 /crawl-ref/source/stairs.h
parentbb5a234eaa2f2f38dceaffeca8f958b5d8537c9a (diff)
downloadcrawl-ref-3ad741cc1d0637798b73afad00f45f3e24f31fda.tar.gz
crawl-ref-3ad741cc1d0637798b73afad00f45f3e24f31fda.zip
Get rid of entry_cause.
Lots of complex processing just so wizmode &B can avoid a note. And even could have been done with checking for "wizard command". Even that is pointless...
Diffstat (limited to 'crawl-ref/source/stairs.h')
-rw-r--r--crawl-ref/source/stairs.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/stairs.h b/crawl-ref/source/stairs.h
index 31d2964dbd..3a4263a3cc 100644
--- a/crawl-ref/source/stairs.h
+++ b/crawl-ref/source/stairs.h
@@ -7,11 +7,8 @@
#define STAIRS_H
bool check_annotation_exclusion_warning();
-void down_stairs(dungeon_feature_type force_stair = DNGN_UNSEEN,
- entry_cause_type entry_cause = EC_UNKNOWN,
- const level_id* force_dest = NULL);
-void up_stairs(dungeon_feature_type force_stair = DNGN_UNSEEN,
- entry_cause_type entry_cause = EC_UNKNOWN);
+void down_stairs(dungeon_feature_type force_stair = DNGN_UNSEEN);
+void up_stairs(dungeon_feature_type force_stair = DNGN_UNSEEN);
void new_level(bool restore = false);
dungeon_feature_type random_stair(bool do_place_check = true);