diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2011-06-25 03:59:54 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2011-06-25 04:04:07 +0100 |
commit | 1954c4d16afbea21d65207780a1f05587cba5681 (patch) | |
tree | 64fc06204d36c31ed7aeda0aa811224a273da729 /crawl-ref/source/spl-wpnench.cc | |
parent | 900aab396a2b1db9dd6900d1e0bdbc49880754dd (diff) | |
download | crawl-ref-1954c4d16afbea21d65207780a1f05587cba5681.tar.gz crawl-ref-1954c4d16afbea21d65207780a1f05587cba5681.zip |
Allow Poison Weapon to work on blunt weapons
It works on stones and sling bullets, so there's no reason it shouldn't
work on maces either.
Diffstat (limited to 'crawl-ref/source/spl-wpnench.cc')
-rw-r--r-- | crawl-ref/source/spl-wpnench.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-wpnench.cc b/crawl-ref/source/spl-wpnench.cc index 576bb2ad29..0cf640424d 100644 --- a/crawl-ref/source/spl-wpnench.cc +++ b/crawl-ref/source/spl-wpnench.cc @@ -94,8 +94,7 @@ bool brand_weapon(brand_type which_brand, int power) // Some brandings are restricted to certain damage types. const int wpn_type = get_vorpal_type(weapon); - if (which_brand == SPWPN_VENOM && wpn_type == DVORP_CRUSHING - || which_brand == SPWPN_DUMMY_CRUSHING && wpn_type != DVORP_CRUSHING) + if (which_brand == SPWPN_DUMMY_CRUSHING && wpn_type != DVORP_CRUSHING) { return (false); } |