summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-07 17:29:36 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-07 17:29:36 +0000
commit3ebe01649260b5e6124f12825ee276a15e2d2f5d (patch)
tree851c6081b736b2ec4c177349341f5545ae45648f /crawl-ref/source/externs.h
parent6bfc79d735e545aa0b07afef39ac50ea190f1373 (diff)
downloadcrawl-ref-3ebe01649260b5e6124f12825ee276a15e2d2f5d.tar.gz
crawl-ref-3ebe01649260b5e6124f12825ee276a15e2d2f5d.zip
Decouple monsters' item pickup ability from their eating ability, and
properly generalize the checks for item-eating monsters. Currently, monsters' eating abilities are restricted to items (jelly types) and corpses (necrophagi, ghouls, and hungry ghosts; the last can eat corpses in some legends). It should probably be extended to harpies at some point, too. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10628 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 0dba9858ef..00c9f7384f 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1423,7 +1423,6 @@ public:
bool pickup_armour(item_def &item, int near, bool force);
bool pickup_misc(item_def &item, int near);
bool pickup_missile(item_def &item, int near, bool force);
- bool eat_corpse(item_def &item, int near);
void equip(item_def &item, int slot, int near = -1);
bool unequip(item_def &item, int slot, int near = -1,
bool force = false);