summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-reacts.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-06-12 20:16:38 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-06-12 20:16:38 +0100
commitae6d43520af7837038e1cbbc135fa5e24513cc56 (patch)
tree6f093d42717983ae1180c3366df9abf257b47ff5 /crawl-ref/source/player-reacts.cc
parent872d5c48c9ab0301c6a83c7c537ebcadc3af4471 (diff)
downloadcrawl-ref-ae6d43520af7837038e1cbbc135fa5e24513cc56.tar.gz
crawl-ref-ae6d43520af7837038e1cbbc135fa5e24513cc56.zip
Fix -Potion messaging for potionless characters (#8676)
Diffstat (limited to 'crawl-ref/source/player-reacts.cc')
-rw-r--r--crawl-ref/source/player-reacts.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player-reacts.cc b/crawl-ref/source/player-reacts.cc
index 83abf715c4..0227475397 100644
--- a/crawl-ref/source/player-reacts.cc
+++ b/crawl-ref/source/player-reacts.cc
@@ -677,7 +677,8 @@ static void _decrement_durations()
0, NULL, MSGCH_RECOVERY);
_decrement_a_duration(DUR_NO_POTIONS, delay,
- "You can drink potions again.",
+ you_foodless(true) ? NULL
+ : "You can drink potions again.",
0, NULL, MSGCH_RECOVERY);
dec_slow_player(delay);