summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-05 22:15:46 -0400
committerNeil Moore <neil@s-z.org>2014-07-05 22:21:28 -0400
commit3e46231ba3de33c9f1d67845f9a74600ac0d26f6 (patch)
treeec2a1af143bb8054d902b65a5e09e1d220cd5c5d /crawl-ref/source/itemname.cc
parent3d2a0df9fdb6e46349e48701897ec4acec95a548 (diff)
downloadcrawl-ref-3e46231ba3de33c9f1d67845f9a74600ac0d26f6.tar.gz
crawl-ref-3e46231ba3de33c9f1d67845f9a74600ac0d26f6.zip
Remove unused parameters from umbra() and backlit().
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);
}