summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index e068bda7f8..fff5a799d3 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -203,10 +203,10 @@ int cast_smiting(int power, dist &beam)
{
monster = &menv[mgrd[beam.tx][beam.ty]];
- mprf("You smite %s!", str_monam( *monster, DESC_NOCAP_THE ).c_str());
+ mprf("You smite %s!", monster->name(DESC_NOCAP_THE).c_str());
// Maxes out at around 40 damage at 27 Invocations, which is plenty
- // in my book (the old max damage was around 70, which seems excessive.
+ // in my book (the old max damage was around 70, which seems excessive)
hurt_monster(monster, 7 + (random2(power) * 33 / 191));
if (monster->hit_points < 1)
@@ -236,7 +236,7 @@ int airstrike(int power, dist &beam)
monster = &menv[mgrd[beam.tx][beam.ty]];
mprf("The air twists around and strikes %s!",
- str_monam( *monster, DESC_NOCAP_THE ).c_str());
+ monster->name(DESC_NOCAP_THE).c_str());
hurted = 8 + random2( random2(4) + (random2(power) / 6)
+ (random2(power) / 7) );