From dcc94e4df24a1111124d87532aaa263f55edf58d Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 17 Oct 2009 07:51:25 +0200 Subject: Naming consistency. Mostly rename functions from terrain.h that accept features of typ dgn_feature_type from grid_is_* to feat_is_*. --- crawl-ref/source/files.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 8d4dceaf98..86c87298b2 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -999,7 +999,7 @@ static void _close_level_gates() if (you.char_direction == GDT_ASCENDING && you.level_type != LEVEL_PANDEMONIUM) { - if (grid_sealable_portal(grd(*ri))) + if (feat_sealable_portal(grd(*ri))) { grd(*ri) = DNGN_STONE_ARCH; env.markers.remove_markers_at(*ri, MAT_ANY); @@ -1464,8 +1464,8 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, { dungeon_feature_type feat = grd(you.pos()); if (feat != DNGN_ENTER_SHOP - && grid_stair_direction(feat) != CMD_NO_CMD - && grid_stair_direction(stair_taken) != CMD_NO_CMD) + && feat_stair_direction(feat) != CMD_NO_CMD + && feat_stair_direction(stair_taken) != CMD_NO_CMD) { std::string stair_str = feature_description(feat, NUM_TRAPS, false, -- cgit v1.2.3-54-g00ecf