summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-10 02:33:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-10 02:33:30 +0000
commitfaf8f98361554b28bdcd28fb4dd0bb1c9d348380 (patch)
tree04180d3634951eef63af09213776e07cd065b0f5 /crawl-ref/source/abl-show.cc
parent47eeccaf3d48d9d53a95a02f6236c443394fd202 (diff)
downloadcrawl-ref-faf8f98361554b28bdcd28fb4dd0bb1c9d348380.tar.gz
crawl-ref-faf8f98361554b28bdcd28fb4dd0bb1c9d348380.zip
Add minor consistency fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5689 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 299c4e7698..83ddb1e831 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1301,7 +1301,8 @@ static bool _do_ability(const ability_def& abil)
break;
case ABIL_RAISE_DEAD:
- your_spells(SPELL_ANIMATE_DEAD, you.experience_level * 5, false);
+ animate_dead(&you, you.experience_level * 5, BEH_FRIENDLY,
+ you.pet_target);
break;
case ABIL_CONTROL_DEMON: