summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stairs.cc
diff options
context:
space:
mode:
authorreaver <reaverb.Crawl@gmail.com>2014-04-30 17:40:41 -0400
committerreaver <reaverb.Crawl@gmail.com>2014-04-30 18:22:08 -0400
commitefc925526d0dde458cc16c6e0caa842550647e66 (patch)
tree89d12d2d9b24f80d1ff4514a350c3e8de3765de8 /crawl-ref/source/stairs.cc
parent04a2ae65d4f9336fe66a09962596d173972466c9 (diff)
downloadcrawl-ref-efc925526d0dde458cc16c6e0caa842550647e66.tar.gz
crawl-ref-efc925526d0dde458cc16c6e0caa842550647e66.zip
Delete an unused bool argument from _exit_stair_message()
Diffstat (limited to 'crawl-ref/source/stairs.cc')
-rw-r--r--crawl-ref/source/stairs.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/stairs.cc b/crawl-ref/source/stairs.cc
index 0f97e149d7..a5dc223636 100644
--- a/crawl-ref/source/stairs.cc
+++ b/crawl-ref/source/stairs.cc
@@ -166,7 +166,7 @@ static bool _stair_moves_pre(dungeon_feature_type stair)
return true;
}
-static void _exit_stair_message(dungeon_feature_type stair, bool /* going_up */)
+static void _exit_stair_message(dungeon_feature_type stair)
{
if (feat_is_escape_hatch(stair))
mpr("The hatch slams shut behind you.");
@@ -433,7 +433,7 @@ void up_stairs(dungeon_feature_type force_stair)
else
_climb_message(stair_find, true, old_level.branch);
- _exit_stair_message(stair_find, true);
+ _exit_stair_message(stair_find);
if (old_level.branch != you.where_are_you)
{
@@ -986,7 +986,7 @@ void down_stairs(dungeon_feature_type force_stair, bool force_known_shaft)
}
if (!shaft)
- _exit_stair_message(stair_find, false);
+ _exit_stair_message(stair_find);
if (entered_branch)
{