diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-10 14:24:40 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-10 14:24:40 +0100 |
commit | f1ef80cc67b73ae63865564ece8032e9b2276234 (patch) | |
tree | abad1e086f495500e06f76b60e6268a1a7c8eb75 /crawl-ref/source/items.cc | |
parent | 4b71037efe0a72b312c377bbc39f2ffd279edaab (diff) | |
download | crawl-ref-f1ef80cc67b73ae63865564ece8032e9b2276234.tar.gz crawl-ref-f1ef80cc67b73ae63865564ece8032e9b2276234.zip |
Tidy up bracket placement according to our coding conventions.
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index ad2d189658..a167165398 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -2313,9 +2313,8 @@ bool item_needs_autopickup(const item_def &item) if ((item.flags & ISFLAG_THROWN) && Options.pickup_thrown) return (true); - if ((item.flags & ISFLAG_DROPPED) && !Options.pickup_dropped) { + if ((item.flags & ISFLAG_DROPPED) && !Options.pickup_dropped) return (false); - } std::string itemname; return _is_option_autopickup(item, itemname); |