From 42a060526313b539a8bcbc05aec8f2c7cd4e6457 Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 6 Mar 2009 11:19:08 +0000 Subject: 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 --- crawl-ref/source/beam.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crawl-ref/source/beam.cc') 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 -- cgit v1.2.3-54-g00ecf