diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 613ea17f5a..bce6474961 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1678,6 +1678,11 @@ static bool _stairs_check_beheld() return (false); } +static bool _marker_vetoes_stair() +{ + return marker_vetoes_operation("veto_stair"); +} + static void _go_downstairs(); static void _go_upstairs() { @@ -1713,6 +1718,9 @@ static void _go_upstairs() if (!check_annotation_exclusion_warning()) return; + if (_marker_vetoes_stair()) + return; + tag_followers(); // Only those beside us right now can follow. start_delay( DELAY_ASCENDING_STAIRS, 1 + (you.burden_state > BS_UNENCUMBERED) ); @@ -1759,6 +1767,9 @@ static void _go_downstairs() } else { + if (_marker_vetoes_stair()) + return; + tag_followers(); // only those beside us right now can follow start_delay( DELAY_DESCENDING_STAIRS, 1 + (you.burden_state > BS_UNENCUMBERED), |