diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-15 14:31:48 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-15 14:31:48 +0000 |
commit | 3e19a2c17e30265df5a49f8aa5c9e598d309e20b (patch) | |
tree | c1ab1a74b3d9185be9b0c62ea225168744f2059b /crawl-ref/source/beam.cc | |
parent | 2854a6cf54831cd8415f96be5d6542440beb71a2 (diff) | |
download | crawl-ref-3e19a2c17e30265df5a49f8aa5c9e598d309e20b.tar.gz crawl-ref-3e19a2c17e30265df5a49f8aa5c9e598d309e20b.zip |
Fix [2506229].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8463 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index bf48e44b0a..82da7982c1 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4005,11 +4005,8 @@ void bolt::update_hurt_or_helped(monsters *mon) friend_info.hurt++; // Harmful beam from this monster rebounded and hit the monster. - if (!is_tracer - && static_cast<int>(monster_index(mon)) == beam_source) - { + if (!is_tracer && mon->mindex() == beam_source) xom_is_stimulated(128); - } } else if (nice_to(mon)) friend_info.helped++; |