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