[Hide Content]From 2350686d72b4729062cd100fb44aef91d7386bda Mon Sep 17 00:00:00 2001
From: Chris Oelmueller <chris.oelmueller@gmail.com>
Date: Mon, 2 Dec 2013 13:02:00 +0100
Subject: Fix reversed ternary statement
Of course nobody noticed ever since these were introduced, so maybe
this is actually a feature and not a bug... More symmetry with other
potions is not bad though.
---
crawl-ref/source/potion.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc
index 48a8dee..17a7a14 100644
--- a/crawl-ref/source/potion.cc
+++ b/crawl-ref/source/potion.cc
@@ -193,7 +193,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
const bool were_brilliant = you.duration[DUR_BRILLIANCE] > 0;
mprf(MSGCH_DURATION, "You feel %s all of a sudden.",
- were_brilliant ? "clever" : "more clever");
+ were_brilliant ? "more clever" : "clever");
you.increase_duration(DUR_BRILLIANCE,
(35 + random2(pow)) / factor, 80);
@@ -208,7 +208,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
const bool were_agile = you.duration[DUR_AGILITY] > 0;
mprf(MSGCH_DURATION, "You feel %s all of a sudden.",
- were_agile ? "agile" : "more agile");
+ were_agile ? "more agile" : "agile");
you.increase_duration(DUR_AGILITY, (35 + random2(pow)) / factor, 80);
--
1.8.4.2