Skip to content

Commit

Permalink
Describe fewer things which have been excluded as stairs.
Browse files Browse the repository at this point in the history
Only describe an excluded square as being up- or downstairs in the
dungeon overview if it goes to another level, and if its exact
destination can be predicted after using it once.

This means that it no longer describes things such as one-way gates,
portals, shops or transporters as being stairs.
  • Loading branch information
Aliscans committed Nov 16, 2024
1 parent 6b26e9b commit 7e69965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawl-ref/source/exclude.cc
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ void set_exclude(const coord_def &p, int radius, bool autoexcl, bool vaultexcl,
const dungeon_feature_type feat = cell.feat();
if (feat_is_door(feat))
desc = "door";
else
else if (feat_is_travelable_stair(feat))
{
const command_type dir = feat_stair_direction(feat);
if (dir == CMD_GO_UPSTAIRS)
Expand Down

0 comments on commit 7e69965

Please sign in to comment.