summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-12-19 16:26:55 -0800
committerStefan O'Rear <stefanor@cox.net>2009-12-19 16:27:02 -0800
commiteb11a5fe6488077c81e329856f5b54b990347e04 (patch)
treedda536fec832e0cc18fcdff392b08ddd338d46c4 /crawl-ref/source/player.cc
parent858e7e3ec55d4bebcd5fb5c210ce2d938410444f (diff)
downloadcrawl-ref-eb11a5fe6488077c81e329856f5b54b990347e04.tar.gz
crawl-ref-eb11a5fe6488077c81e329856f5b54b990347e04.zip
Sticky flame negates invisibility (myuzinn)
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 733759432c..126a7539b1 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6898,7 +6898,8 @@ bool player::visible_to(const actor *looker) const
bool player::backlit(bool check_haloed) const
{
return (get_contamination_level() > 0 || duration[DUR_CORONA]
- || (check_haloed ? haloed() : false));
+ || (check_haloed ? haloed() : false)
+ || duration[DUR_LIQUID_FLAMES]);
}
// This is the imperative version.