summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 8ddad7b6cb..6a261fc0ab 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -3155,7 +3155,7 @@ bool is_dangerous_item(const item_def &item, bool temp)
static bool _invisibility_is_useless(const bool temp)
{
// If you're Corona'd or a TSO-ite, this is always useless.
- return temp ? you.backlit(true)
+ return temp ? you.backlit()
: you.haloed() && you_worship(GOD_SHINING_ONE);
}