From 6845f79a5ed4314c86878d013ec3bb11af92483d Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 17 Oct 2009 10:02:54 +0200 Subject: Unify check for unknown staircases in is_unknown_staircase. --- crawl-ref/source/tutorial.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 37ecb261ea..119405fbac 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -4220,7 +4220,7 @@ static void _tutorial_describe_feature(int x, int y) "Shift. "; #endif - if (feat_is_travelable_stair(feat) && !travel_cache.know_stair(where)) + if (is_unknown_stair(where)) { ostr << "\n\nYou have not yet passed through this particular " "set of stairs. "; @@ -4253,8 +4253,7 @@ static void _tutorial_describe_feature(int x, int y) "clicking the left mouse button while pressing " "Shift instead. "; #endif - if (feat_is_travelable_stair(feat) - && !travel_cache.know_stair(where)) + if (is_unknown_stair(where)) { ostr << "\n\nYou have not yet passed through this " "particular set of stairs. "; -- cgit v1.2.3-54-g00ecf