summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-03 23:09:13 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-04 08:45:42 +0100
commitaa8110a9204f7f9a1c50d98f3ada4d8c6e3b405e (patch)
tree658b9529f3fe1c0424fb8058a46f78fc533a3922 /crawl-ref/source/dungeon.cc
parent2edcff5f957d507319d1f848edde5f7e810c5967 (diff)
downloadcrawl-ref-aa8110a9204f7f9a1c50d98f3ada4d8c6e3b405e.tar.gz
crawl-ref-aa8110a9204f7f9a1c50d98f3ada4d8c6e3b405e.zip
Rename map_feature() from mapdef.h to map_feature_at.
This was causing conflicts with enum map_feature (not sure why this didn't show up earlier).
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index ece327f7b3..5c0021d3e2 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4833,7 +4833,7 @@ static bool _dgn_place_one_monster( const vault_placement &place,
}
// Grr, keep this in sync with vault_grid.
-dungeon_feature_type map_feature(map_def *map, const coord_def &c, int rawfeat)
+dungeon_feature_type map_feature_at(map_def *map, const coord_def &c, int rawfeat)
{
if (rawfeat == -1)
rawfeat = map->glyph_at(c);
@@ -4856,7 +4856,7 @@ dungeon_feature_type map_feature(map_def *map, const coord_def &c, int rawfeat)
else if (f.feat >= 0)
return static_cast<dungeon_feature_type>(f.feat);
else if (f.glyph >= 0)
- return map_feature(NULL, c, rawfeat);
+ return map_feature_at(NULL, c, rawfeat);
else if (f.shop >= 0)
return (DNGN_ENTER_SHOP);