diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-07 19:13:12 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-07 19:13:12 +0000 |
commit | 5d5389034da866a517b5d78095d5b1c7efb47e31 (patch) | |
tree | a57963c789bd723c3f24ee62c5f02fb3bc58db72 /crawl-ref/source/fight.cc | |
parent | 771ccf9a0c3660ec0a0ae1aaf3696367146d364c (diff) | |
download | crawl-ref-5d5389034da866a517b5d78095d5b1c7efb47e31.tar.gz crawl-ref-5d5389034da866a517b5d78095d5b1c7efb47e31.zip |
Make weapons of reaching work through granite statues again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9913 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 9900d9a501..d9346d1c60 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -4312,7 +4312,7 @@ std::string melee_attack::mons_weapon_desc() const item_def wpn = *weapon; if (get_weapon_brand(wpn) == SPWPN_REACHING) { - if ( grid_distance(attacker->pos(), defender->pos()) == 2 ) + if (grid_distance(attacker->pos(), defender->pos()) == 2) result += " from afar"; } |