From dd27b0610543880d2c90103e3e18b4f90d1716bd Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 3 Aug 2008 02:51:21 +0000 Subject: 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 --- crawl-ref/source/item_use.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/item_use.cc') 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; -- cgit v1.2.3-54-g00ecf