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>2008-06-16 13:51:20 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-16 13:51:20 +0000
commite2e74507bbc5ce16bad61bedc0bd881acdbea280 (patch)
tree1633043f410a5927d0d0f3086e3afaec3594cd2a /crawl-ref/source/item_use.cc
parent45d98c4f38de1e47e159d17a8a6be6217c673dc3 (diff)
downloadcrawl-ref-e2e74507bbc5ce16bad61bedc0bd881acdbea280.tar.gz
crawl-ref-e2e74507bbc5ce16bad61bedc0bd881acdbea280.zip
Implemented a modified version of FR 1994116: change inscription
interface. Instead of "Do you wish to inscribe this item? (y/n)" directly print "Add what to inscription? (You may also (a)utoinscribe or (c)lear it.)" (a) and (c) only where applicable, of course. This has two benefits: No extra prompt needed to inscribe anything, and I've finally managed to merge both the { prompt and inscribing from viewing into the same function. Escape or pressing Enter on an empty inscription string (or one only consisting of spaces) will return without changing anything. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5879 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 96d5f3f4d3..f51f23c9fb 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3534,7 +3534,7 @@ void prompt_inscribe_item()
return;
}
- inscribe_item(you.inv[item_slot]);
+ inscribe_item(you.inv[item_slot], true);
}
void drink( int slot )