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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index d9f27b19dc..2b38957221 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1412,7 +1412,7 @@ 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( 1 + you.skills[SK_INVOCATIONS], BEH_FRIENDLY,
+ animate_dead( &you, 1 + you.skills[SK_INVOCATIONS], BEH_FRIENDLY,
you.pet_target, 1 );
exercise(SK_INVOCATIONS, 2 + random2(4));