summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index a8ed16a0a1..fa28e1f4de 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -665,12 +665,11 @@ static bool food_change(bool suppress_message)
you.duration[DUR_TRANSFORMATION] = 2;
}
}
- else if (newstate == HS_ENGORGED
- && you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT
+ else if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT
&& you.duration[DUR_TRANSFORMATION] > 5)
{
- mpr("Your bloodfilled body can't sustain your transformation much "
- "longer.", MSGCH_WARN);
+ mpr("Your bloodfilled body can't sustain your transformation "
+ "much longer.", MSGCH_WARN);
// give more time because suddenly stopping flying can be lethal
you.duration[DUR_TRANSFORMATION] = 5;
}