summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 1c702548ac..6280043cdd 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -2356,7 +2356,8 @@ bool melee_attack::apply_damage_brand()
}
}
- obvious_effect = obvious_effect || (special_damage_message != "");
+ if (!obvious_effect)
+ obvious_effect = !special_damage_message.empty();
if (obvious_effect && attacker_visible && weapon != NULL
&& !is_artefact(*weapon))