summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-18 15:20:46 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-18 15:20:46 +0000
commitee45d583173ec10c5027b164437133a0efda79d4 (patch)
tree9fb152d8175ab78e4347ff8ac6acf49ad641ecf8 /crawl-ref/source/itemname.h
parent6cb8f61061f9423b35c3c2e271055db44a8d4b8a (diff)
downloadcrawl-ref-ee45d583173ec10c5027b164437133a0efda79d4.tar.gz
crawl-ref-ee45d583173ec10c5027b164437133a0efda79d4.zip
Clean up monster potion handling, fix bug where !oHW healing
also applied !oH healing, make monsters drink !oH when helpful, disallow potions for some monsters (currently only liches and mummies, more can be added.) Fixes 2035734, 2048006. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6944 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r--crawl-ref/source/itemname.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h
index c286db6236..54060663a0 100644
--- a/crawl-ref/source/itemname.h
+++ b/crawl-ref/source/itemname.h
@@ -28,14 +28,6 @@ enum item_type_id_type
NUM_IDTYPE
};
-enum item_type_id_state_type // used for values in id[4][50]
-{
- ID_UNKNOWN_TYPE = 0,
- ID_MON_TRIED_TYPE,
- ID_TRIED_TYPE,
- ID_KNOWN_TYPE
-};
-
// [dshaligram] If you edit potion colours/descriptions, also update
// itemname.cc.
enum potion_description_colour_type