summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-goditem.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-10-21 18:55:28 +0200
committerNeil Moore <neil@s-z.org>2013-10-21 14:34:01 -0400
commit7c54ee0de61fddceb0aced7e6d44a1a78948ef33 (patch)
tree9a2873a4e63b6735c2e81f11d140473269471d2f /crawl-ref/source/spl-goditem.cc
parentc72be133eeb0bc13f3a316be0a8388f9b8fc3cea (diff)
downloadcrawl-ref-7c54ee0de61fddceb0aced7e6d44a1a78948ef33.tar.gz
crawl-ref-7c54ee0de61fddceb0aced7e6d44a1a78948ef33.zip
Allow querying \ screen when reading scrolls of identify
Somehow this only worked when the scroll was not identified before.
Diffstat (limited to 'crawl-ref/source/spl-goditem.cc')
-rw-r--r--crawl-ref/source/spl-goditem.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-goditem.cc b/crawl-ref/source/spl-goditem.cc
index 319e2dd7e2..8c8933761e 100644
--- a/crawl-ref/source/spl-goditem.cc
+++ b/crawl-ref/source/spl-goditem.cc
@@ -57,8 +57,10 @@ int identify(int power, int item_slot, string *pre_msg)
{
if (item_slot == -1)
{
- item_slot = prompt_invent_item("Identify which item?", MT_INVLIST,
- OSEL_UNIDENT, true, true, false);
+ item_slot = prompt_invent_item(
+ "Identify which item? (\\ to view known items)",
+ MT_INVLIST, OSEL_UNIDENT, true, true, false, 0,
+ -1, NULL, OPER_ANY, true);
}
if (prompt_failed(item_slot))
return identified;