summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-19 18:08:57 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-19 18:08:57 +0000
commit12ec4715196925cb313b3025498f5ac011b48789 (patch)
tree885f928af16d1984211dbd1242338eda55708b85 /crawl-ref/source/item_use.cc
parent1f16b54afe3ce0f5f23cddae2d7d6f3fc7252615 (diff)
downloadcrawl-ref-12ec4715196925cb313b3025498f5ac011b48789.tar.gz
crawl-ref-12ec4715196925cb313b3025498f5ac011b48789.zip
r70@ODIN: dshaligram | 2006-08-19 23:40:12 +051800
- Fixed death drake breath attack. - Fixed broken launcher acquirement. - Fixed longbow being wieldable by small humanoids. - Fixed draconian caller summons. - Tweaked swamp drake breath attack from cloud to beam+cloud. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@24 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 3c342d7c95..65079d11f3 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -106,6 +106,7 @@ bool can_wield(const item_def& weapon)
|| weapon.sub_type == WPN_GLAIVE
|| weapon.sub_type == WPN_GIANT_CLUB
|| weapon.sub_type == WPN_GIANT_SPIKED_CLUB
+ || weapon.sub_type == WPN_LONGBOW
|| weapon.sub_type == WPN_SCYTHE))
return false;
@@ -267,6 +268,7 @@ bool wield_weapon(bool auto_wield, int slot, bool show_weff_messages)
|| you.inv[item_slot].sub_type == WPN_GLAIVE
|| you.inv[item_slot].sub_type == WPN_GIANT_CLUB
|| you.inv[item_slot].sub_type == WPN_GIANT_SPIKED_CLUB
+ || you.inv[item_slot].sub_type == WPN_LONGBOW
|| you.inv[item_slot].sub_type == WPN_SCYTHE))
{
mpr("That's too large for you to wield.");