summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 2480ba424c..7f54a2223d 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1296,7 +1296,7 @@ spret_type your_spells( spell_type spell, int powc, bool allow_fail )
case SPELL_ANIMATE_DEAD:
mpr("You call on the dead to walk for you.");
- animate_dead(powc + 1, BEH_FRIENDLY, you.pet_target, 1);
+ animate_dead(&you, powc + 1, BEH_FRIENDLY, you.pet_target, 1);
break;
case SPELL_PAIN: