summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index fd5f87287d..fbfb3181b1 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -1093,7 +1093,8 @@ enum duration_type
NUM_DURATIONS
};
-// This list must match the enchant_names array in mon-util.cc
+// This list must match the enchant_names array in mon-util.cc or Crawl
+// will CRASH, we kid you not.
enum enchant_type
{
ENCH_NONE = 0, // 0
@@ -1123,7 +1124,9 @@ enum enchant_type
ENCH_HELD, // caught in a net
ENCH_BATTLE_FRENZY, // Monster is in a battle frenzy
ENCH_NEUTRAL,
-
+
+ // Update enchantment names in mon-util.cc when adding or removing
+ // enchantments.
NUM_ENCHANTMENTS
};