summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index b698997be7..991e8d6e1d 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -62,7 +62,7 @@
#include "religion.h"
#include "spl-cast.h"
#include "spl-util.h"
-#include "spells2.h"
+#include "spells3.h"
#include "spells4.h"
#include "state.h"
#include "stuff.h"
@@ -4819,8 +4819,8 @@ static bool _handle_spell( monsters *monster, bolt & beem )
// Try to animate dead: if nothing rises, pretend we didn't cast it.
if (spell_cast == SPELL_ANIMATE_DEAD
- && !animate_dead( monster, 100, SAME_ATTITUDE(monster),
- monster->foe, 0 ))
+ && !animate_dead(monster, 100, SAME_ATTITUDE(monster),
+ monster->foe, false, false))
{
return (false);
}