summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-06 19:36:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-06 19:36:52 +0000
commit1f949e4b0f972867e6274a8a4fc3db8d5fe924e8 (patch)
treea0668ece3d80e4b2409e8cff04e3351b406c20b1 /crawl-ref/source/item_use.cc
parentc5887300c0f938671c78fc4a59f74ea98ac5bd04 (diff)
downloadcrawl-ref-1f949e4b0f972867e6274a8a4fc3db8d5fe924e8.tar.gz
crawl-ref-1f949e4b0f972867e6274a8a4fc3db8d5fe924e8.zip
* After some thought, remove the description toggle from the spell menu as
the double toggle makes everything much more complicated, and you can easily access the spell descriptions from the very similar 'I' menu. * Don't offer weapons of unknown brand types for ?recharging. I tested a few combination cases, but I might have overlooked something. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9589 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index cbef83db3c..ac34457c8c 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4674,7 +4674,7 @@ static bool _scroll_modify_item(item_def scroll)
}
break;
case SCR_RECHARGING:
- if (item_is_rechargeable(item, true))
+ if (item_is_rechargeable(item, false, true))
{
// Might still fail on highly enchanted weapons of electrocution.
// (If so, already prints the "Nothing happens" message.)