summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/throw.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-06 00:18:02 -0400
committerNeil Moore <neil@s-z.org>2014-07-06 00:18:03 -0400
commitf1063cb0753b80e1baf3c9c9f11546bf20da39de (patch)
treeba5c91e64b6c0e1a9fef7207ad5cbdaadb6f1c43 /crawl-ref/source/throw.cc
parent727dbd68da90d3249656771f2fd1f44e995aa068 (diff)
downloadcrawl-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/throw.cc')
-rw-r--r--crawl-ref/source/throw.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/throw.cc b/crawl-ref/source/throw.cc
index 5e6819bf42..fa1d8403d3 100644
--- a/crawl-ref/source/throw.cc
+++ b/crawl-ref/source/throw.cc
@@ -1039,8 +1039,6 @@ bool mons_throw(monster* mons, bolt &beam, int msl, bool teleport)
// Dropping item copy, since the launched item might be different.
item_def item = mitm[msl];
item.quantity = 1;
- if (mons->friendly())
- item.flags |= ISFLAG_DROPPED_BY_ALLY;
// FIXME we should actually determine a sensible range here
beam.range = you.current_vision;