summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-project.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2012-08-04 17:32:54 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2012-08-04 17:32:54 -0600
commitb81e4e3bf900b3871ed5409c8e8495e4b8955120 (patch)
tree40408887d8f003590affee92f9b380d14bc5e40c /crawl-ref/source/mon-project.cc
parent07b274ec766ee773110cd06c9c071481c79e6e03 (diff)
downloadcrawl-ref-b81e4e3bf900b3871ed5409c8e8495e4b8955120.tar.gz
crawl-ref-b81e4e3bf900b3871ed5409c8e8495e4b8955120.zip
Prune duplicate-in-spirit message when rolling boulder beetle hits player.
Previously, one would see "The boulder beetle hits you! The boulder beetle smashes into you!"; now one only sees the latter message.
Diffstat (limited to 'crawl-ref/source/mon-project.cc')
-rw-r--r--crawl-ref/source/mon-project.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-project.cc b/crawl-ref/source/mon-project.cc
index 6d25c37876..19ebc238a1 100644
--- a/crawl-ref/source/mon-project.cc
+++ b/crawl-ref/source/mon-project.cc
@@ -499,7 +499,7 @@ move_again:
}
// Yay for inconsistencies in beam-vs-player and beam-vs-monsters.
- if (victim && victim->is_player())
+ if (victim && victim->is_player() && !mons_is_boulder(&mon))
mprf("%s hits you!", mon.name(DESC_THE, true).c_str());
if (_iood_hit(mon, pos))