From 5a9dd985c931cb2ea24955d9cac145900a64ec9f Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 3 Jul 2007 19:00:16 +0000 Subject: Fixed sling bullets not being fired correctly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1734 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/items.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/items.cc') 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 -- cgit v1.2.3-54-g00ecf