summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-31 23:45:54 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-31 23:45:54 +0000
commit491bd54ed333bcf915372097e18ac6483d5297c6 (patch)
tree6b05000555a2510f8a0c03ca8819711c709c5ca1 /crawl-ref/source/food.cc
parentb2a0f789b94558ed467b25ac5355eaf8b6558077 (diff)
downloadcrawl-ref-491bd54ed333bcf915372097e18ac6483d5297c6.tar.gz
crawl-ref-491bd54ed333bcf915372097e18ac6483d5297c6.zip
Fix eating always only taking 1 turn, whoops!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5379 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index fc46e4354b..390b9caaf8 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1365,7 +1365,7 @@ static void _eating(unsigned char item_class, int item_type)
if (item_type == FOOD_MEAT_RATION || item_type == FOOD_BREAD_RATION)
duration = 3;
- start_delay( DELAY_EAT, 1, 0, item_type );
+ start_delay( DELAY_EAT, duration, 0, item_type );
lessen_hunger( food_value, true );
}
break;