summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 0591520d59..299c4e7698 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1463,10 +1463,8 @@ static bool _do_ability(const ability_def& abil)
case ABIL_YRED_ANIMATE_CORPSE:
mpr("You call on the dead to walk for you...");
-
- animate_a_corpse( you.x_pos, you.y_pos, BEH_FRIENDLY,
- you.pet_target, CORPSE_BODY );
-
+ animate_a_corpse(you.x_pos, you.y_pos, CORPSE_BODY, BEH_FRIENDLY,
+ you.pet_target, true);
exercise(SK_INVOCATIONS, 2 + random2(4));
break;
@@ -1477,10 +1475,8 @@ static bool _do_ability(const ability_def& abil)
case ABIL_YRED_ANIMATE_DEAD:
mpr("You call on the dead to walk for you...");
-
- animate_dead( &you, 1 + you.skills[SK_INVOCATIONS], BEH_FRIENDLY,
- you.pet_target, 1 );
-
+ animate_dead(&you, 1 + you.skills[SK_INVOCATIONS], BEH_FRIENDLY,
+ you.pet_target, true);
exercise(SK_INVOCATIONS, 2 + random2(4));
break;