diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-27 13:03:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-27 13:03:15 +0000 |
commit | 26daf2e137f335a48ae532b3a379cef0550d4e39 (patch) | |
tree | 2c91be99853ec4bd921613886862ccb12e197981 /crawl-ref/source | |
parent | 5f2ca6e7a812f012824ef8c1dbb781f5d5d21b3f (diff) | |
download | crawl-ref-26daf2e137f335a48ae532b3a379cef0550d4e39.tar.gz crawl-ref-26daf2e137f335a48ae532b3a379cef0550d4e39.zip |
Add "held" to enchant_names array. Thanks to Enne!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2034 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/enum.h | 1 | ||||
-rw-r--r-- | crawl-ref/source/mon-util.cc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index d93fe664f2..6232299752 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -1263,6 +1263,7 @@ enum element_type EC_RANDOM // any colour (except BLACK) }; +// This list must match the enchant_names array in mon-util.cc enum enchant_type { ENCH_NONE = 0, // 0 diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index fe214c47fb..5b8a200e5f 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -4468,7 +4468,8 @@ static const char *enchant_names[] = "none", "slow", "haste", "fear", "conf", "inv", "pois", "bers", "rot", "summon", "abj", "backlit", "charm", "fire", "gloshifter", "shifter", "tp", "wary", "submerged", - "short lived", "paralysis", "sick", "sleep", "fatigue", "bug" + "short lived", "paralysis", "sick", "sleep", "fatigue", "held", + "bug" }; const char *mons_enchantment_name(enchant_type ench) |