summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 85c5e9b3c1..1cc99a4967 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -2943,7 +2943,8 @@ bool item_def::launched_by(const item_def &launcher) const
{
if (base_type != OBJ_MISSILES)
return (false);
- return (sub_type == fires_ammo_type(launcher));
+ const missile_type mt = fires_ammo_type(launcher);
+ return (sub_type == mt || (mt == MI_STONE && mt == MI_SLING_BULLET));
}
int item_def::index() const