summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-15 17:02:30 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-15 17:02:30 +0000
commit778880771386e5f111aca28d397c5d32f3e7dca0 (patch)
tree3103d6f05216f29849f36419ba0ae54fb4596a2e /crawl-ref/source/invent.cc
parent21a20c8edf221604f77decc0430145d13f305e5b (diff)
downloadcrawl-ref-778880771386e5f111aca28d397c5d32f3e7dca0.tar.gz
crawl-ref-778880771386e5f111aca28d397c5d32f3e7dca0.zip
Nemelexites now require confirmation before offering runes, orbs, or
objects marked with !p (or !*) on a non-altar square. Nothing gets offered unless the player OKs everything, so inscribing a couple of items in your stash with !p should be enough paranoia. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1476 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 17f6ad4581..d45051a80d 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -740,8 +740,8 @@ static int digit_to_index( char digit, operation_types oper ) {
return -1;
}
-static bool has_warning_inscription(const item_def& item,
- operation_types oper)
+bool has_warning_inscription(const item_def& item,
+ operation_types oper)
{
const char iletter = static_cast<char>(oper);