summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-03 02:51:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-03 02:51:21 +0000
commitdd27b0610543880d2c90103e3e18b4f90d1716bd (patch)
tree74d31b9a1367571cbe3413d75e1aa1c59d319334 /crawl-ref/source/item_use.cc
parent73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf (diff)
downloadcrawl-ref-dd27b0610543880d2c90103e3e18b4f90d1716bd.tar.gz
crawl-ref-dd27b0610543880d2c90103e3e18b4f90d1716bd.zip
Apply missing bits of 0.4's r6748 to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6756 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 9995deca67..ab2b917837 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3575,18 +3575,18 @@ void zap_wand( int slot )
}
you.turn_is_over = true;
-} // end zap_wand()
+}
void prompt_inscribe_item()
{
- int item_slot;
if (inv_count() < 1)
{
mpr("You don't have anything to inscribe.");
return;
}
- item_slot = prompt_invent_item("Inscribe which item? ",
- MT_INVLIST, OSEL_ANY );
+
+ int item_slot = prompt_invent_item("Inscribe which item? ",
+ MT_INVLIST, OSEL_ANY);
if (prompt_failed(item_slot))
return;