diff options
author | Neil Moore <neil@s-z.org> | 2014-07-06 00:18:02 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-06 00:18:03 -0400 |
commit | f1063cb0753b80e1baf3c9c9f11546bf20da39de (patch) | |
tree | ba5c91e64b6c0e1a9fef7207ad5cbdaadb6f1c43 /crawl-ref/source/items.cc | |
parent | 727dbd68da90d3249656771f2fd1f44e995aa068 (diff) | |
download | crawl-ref-f1063cb0753b80e1baf3c9c9f11546bf20da39de.tar.gz crawl-ref-f1063cb0753b80e1baf3c9c9f11546bf20da39de.zip |
Remove ISFLAG_DROPPED_BY_ALLY.
Since the removal of ally pickup modes, the flag has still been tracked
but never actually read.
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index ccd05e542b..d91a192afb 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1828,9 +1828,8 @@ static int _place_item_in_free_slot(const item_def &it, int quant_got, item.quantity = quant_got; item.slot = index_to_letter(item.link); item.pos.set(-1, -1); - // Remove "dropped by ally" flag. - // Also, remove "unobtainable" as it was just proven false. - item.flags &= ~(ISFLAG_DROPPED_BY_ALLY | ISFLAG_UNOBTAINABLE); + // Remove "unobtainable" as it was just proven false. + item.flags &= ~ISFLAG_UNOBTAINABLE; god_id_item(item); maybe_identify_base_type(item); |