diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-25 18:45:25 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-25 18:45:25 +0000 |
commit | dd016fa36134c00a8c1f919aba25b872bcba4751 (patch) | |
tree | d96ffedd99acfc3f9503cba5faa9bc7a5da26301 /crawl-ref/source/item_use.cc | |
parent | 8c0ebd4d4cfbab6437fd1d62c64523683f29ab4d (diff) | |
download | crawl-ref-dd016fa36134c00a8c1f919aba25b872bcba4751.tar.gz crawl-ref-dd016fa36134c00a8c1f919aba25b872bcba4751.zip |
* Move eating logic from lua to C again, so as to handle more than
boolean responses (eat, skip, cancel).
* Remove the now deprecated eat.lua.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8746 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index ce003911da..269984cfa6 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -5385,7 +5385,7 @@ void tile_item_use(int idx) // intentional fall-through for Vampires case OBJ_FOOD: if (check_warning_inscriptions(item, OPER_EAT)) - eat_food(false, idx); + eat_food(idx); return; case OBJ_BOOKS: |