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-02-28 16:33:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-28 16:33:52 +0000
commitda65a68b7a8bbe8898aa81b5d6cc794d3c01ffc6 (patch)
tree288eaf56d820fbf83a5d0f87ec627686a597c0d7 /crawl-ref/source/food.cc
parent1ef02b64bcc1eb7cafcd00b37788f82ea9b782ef (diff)
downloadcrawl-ref-da65a68b7a8bbe8898aa81b5d6cc794d3c01ffc6.tar.gz
crawl-ref-da65a68b7a8bbe8898aa81b5d6cc794d3c01ffc6.zip
Fix 1902749: starving to death by invoking abilities
(FR, but I consider it a bug) Players will now be prompted whether they want to use an ability if there's a chance its food_cost might make them starve to death. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3474 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index a5fb1e1ddb..da11ab593a 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -633,16 +633,16 @@ static bool food_change(bool suppress_message)
learned_something_new(TUT_YOU_STARVING);
you.check_awaken(500);
break;
- case HS_HUNGRY:
- mpr("You are feeling hungry.", MSGCH_FOOD);
+ case HS_NEAR_STARVING:
+ mpr("You are near starving.", MSGCH_FOOD);
learned_something_new(TUT_YOU_HUNGRY);
break;
case HS_VERY_HUNGRY:
mpr("You are feeling very hungry.", MSGCH_FOOD);
learned_something_new(TUT_YOU_HUNGRY);
break;
- case HS_NEAR_STARVING:
- mpr("You are near starving.", MSGCH_FOOD);
+ case HS_HUNGRY:
+ mpr("You are feeling hungry.", MSGCH_FOOD);
learned_something_new(TUT_YOU_HUNGRY);
break;
default: