summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-29 13:22:12 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-29 13:22:12 +0000
commit031aedb7a9cfa7ad7d86fef1a0ae3b382d31ebb9 (patch)
tree23d9f3d719f5a35a8f256f0df2bf4cfec61680e8 /crawl-ref/source/items.h
parent883d0ce492391cc7cfeed1836b4a4e5fc5f4b24e (diff)
downloadcrawl-ref-031aedb7a9cfa7ad7d86fef1a0ae3b382d31ebb9.tar.gz
crawl-ref-031aedb7a9cfa7ad7d86fef1a0ae3b382d31ebb9.zip
Fix for bug 1622129, safe_autopickup check was happening before monster
movement. Autopickup is no longer a delay but rather receives special handling (ouch, should be done better.) This necessitated removing a safety assert() in delay.cc. Also, you now get two messages when autopickup kicks in: You see 2 scrolls of identify here. C - 3 scrolls of identify I consider this...a feature. Right. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@729 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r--crawl-ref/source/items.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h
index 459d52b862..d741cbf8fe 100644
--- a/crawl-ref/source/items.h
+++ b/crawl-ref/source/items.h
@@ -145,4 +145,7 @@ void origin_set_inventory( void (*oset)(item_def &item) );
bool item_needs_autopickup(const item_def &);
bool can_autopickup();
+bool need_to_autopickup();
+void autopickup();
+
#endif