diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-06 11:19:08 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-06 11:19:08 +0000 |
commit | 42a060526313b539a8bcbc05aec8f2c7cd4e6457 (patch) | |
tree | 7a3c46eeb076183f18b44fc2dcb7356069f78d39 /crawl-ref/source/beam.cc | |
parent | 0eccbe92f13c4522ac01496e09213f9209a5f14c (diff) | |
download | crawl-ref-42a060526313b539a8bcbc05aec8f2c7cd4e6457.tar.gz crawl-ref-42a060526313b539a8bcbc05aec8f2c7cd4e6457.zip |
Fix [2667739]: monsters in walls were being hit twice by bolts, once with a test,
once without.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9345 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 09fb4c65c1..810ff042a9 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1795,10 +1795,6 @@ void bolt::hit_wall() bounce(); else { - // Affect a creature in the wall, if any. - if (monsters* m = monster_at(pos())) - affect_monster(m); - // Regress for explosions: blow up in an open grid (if regressing // makes any sense). Also regress when dropping items. if (!aimed_at_spot |