summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-05 03:14:05 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-05 03:14:05 -0400
commit8540c5e9ecd837fadfadf96ebff76ea620a68ded (patch)
tree418190d0e9a64d86dd02d704872b3fe892c22a9d /crawl-ref/source/player.cc
parentf3d99e44229e0e0f8366f92a52ac3d4217dacdcd (diff)
downloadcrawl-ref-8540c5e9ecd837fadfadf96ebff76ea620a68ded.tar.gz
crawl-ref-8540c5e9ecd837fadfadf96ebff76ea620a68ded.zip
Rename BEAM_NUKE to BEAM_DEVASTATION
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 7998de4862..8499ebe968 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -7097,8 +7097,11 @@ int player::hurt(const actor *agent, int amount, beam_type flavour,
die("player::hurt() called for self-damage");
}
- if ((flavour == BEAM_NUKE || flavour == BEAM_DISINTEGRATION) && can_bleed())
+ if ((flavour == BEAM_DEVASTATION || flavour == BEAM_DISINTEGRATION)
+ && can_bleed())
+ {
blood_spray(pos(), type, amount / 5);
+ }
return amount;
}