From db86b7751c82969f85be99ea9becc6717357875f Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 25 Jan 2008 07:24:40 +0000 Subject: [1878126] Suppress " goes berserk" messages for Trog punishment, fixed enchantment name assert. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3327 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/enum.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/enum.h') 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 }; -- cgit v1.2.3-54-g00ecf