[Hide Content]From f5a08b96efb56f9a8c2c98849d116e1ea6e6b76c Mon Sep 17 00:00:00 2001
From: Chris Oelmueller <chris.oelmueller@gmail.com>
Date: Mon, 21 Oct 2013 18:55:28 +0200
Subject: Allow querying \ screen when reading scrolls of identify
Somehow this only worked when the scroll was not identified before.
---
crawl-ref/source/spl-goditem.cc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/crawl-ref/source/spl-goditem.cc b/crawl-ref/source/spl-goditem.cc
index 319e2dd..8c89337 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;
--
1.8.4.1