diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-06 18:34:28 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-06 18:39:02 +0100 |
commit | 415669d7ad597855086ca2e0c07d219b6e0e8e9b (patch) | |
tree | 88c3239634153fbaed8bd891025cc0818ef5331f /crawl-ref/source/artefact.cc | |
parent | 9c199ebd5f80cafa670c0df01702ce7dc5dfc1d9 (diff) | |
parent | ed4c75b69af01a021233cc3f9255223ad299fe8c (diff) | |
download | crawl-ref-415669d7ad597855086ca2e0c07d219b6e0e8e9b.tar.gz crawl-ref-415669d7ad597855086ca2e0c07d219b6e0e8e9b.zip |
Merge branch 'dwants'. Bring some Raid.
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r-- | crawl-ref/source/artefact.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc index 00487d70ee..658e59bf7e 100644 --- a/crawl-ref/source/artefact.cc +++ b/crawl-ref/source/artefact.cc @@ -1584,12 +1584,10 @@ int find_okay_unrandart(uint8_t aclass, uint8_t atype, bool in_abyss) && (aclass != OBJ_WEAPONS || weapon_skill(entry->base_type, atype) != weapon_skill(entry->base_type, entry->sub_type) - || hands_reqd(entry->base_type, - atype, - you.body_size()) != - hands_reqd(entry->base_type, - entry->sub_type, - you.body_size()))) + || hands_reqd(&you, entry->base_type, + atype) != + hands_reqd(&you, entry->base_type, + entry->sub_type))) { continue; } |