summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-26 11:15:09 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-26 11:15:09 +0000
commitf2341f8e9711e2154a826e85e28280d02337dc36 (patch)
treeeddd79d52b6a77af44fcff37d81775349b4dd492 /crawl-ref/source/items.cc
parentfa909934b0e8289bf954c143e806cf6d42583c53 (diff)
downloadcrawl-ref-f2341f8e9711e2154a826e85e28280d02337dc36.tar.gz
crawl-ref-f2341f8e9711e2154a826e85e28280d02337dc36.zip
Fixed item_check not being called correctly (syllogism).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2587 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 53bf6cfa2c..d910e5ecc3 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -2970,7 +2970,10 @@ static void do_autopickup()
will_autopickup = false;
if (!can_autopickup())
+ {
+ item_check(false);
return;
+ }
o = igrd[you.x_pos][you.y_pos];