summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_dgngrd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/l_dgngrd.cc')
-rw-r--r--crawl-ref/source/l_dgngrd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/l_dgngrd.cc b/crawl-ref/source/l_dgngrd.cc
index 39f33d76f5..e500326136 100644
--- a/crawl-ref/source/l_dgngrd.cc
+++ b/crawl-ref/source/l_dgngrd.cc
@@ -64,7 +64,7 @@ const char *dngn_feature_names[] =
dungeon_feature_type dungeon_feature_by_name(const std::string &name)
{
- COMPILE_CHECK(ARRAYSZ(dngn_feature_names) == NUM_REAL_FEATURES, c1);
+ COMPILE_CHECK(ARRAYSZ(dngn_feature_names) == NUM_FEATURES, c1);
if (name.empty())
return (DNGN_UNSEEN);
@@ -79,7 +79,7 @@ std::vector<std::string> dungeon_feature_matches(const std::string &name)
{
std::vector<std::string> matches;
- COMPILE_CHECK(ARRAYSZ(dngn_feature_names) == NUM_REAL_FEATURES, c1);
+ COMPILE_CHECK(ARRAYSZ(dngn_feature_names) == NUM_FEATURES, c1);
if (name.empty())
return (matches);