summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index e4ded572b4..5e4a6965dd 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -2533,13 +2533,13 @@ MDEF(hd)
static const char *_monuse_names[] =
{
- "nothing", "eats_items", "open_doors", "starting_equipment",
+ "nothing", "open_doors", "starting_equipment",
"weapons_armour", "magic_items"
};
static const char *_monuse_to_str(mon_itemuse_type ityp)
{
- ASSERT(ARRAYSZ(_monuse_names) == NUM_MONUSE);
+ COMPILE_CHECK(ARRAYSZ(_monuse_names) == NUM_MONUSE, c1);
return _monuse_names[ityp];
}