diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 00:28:37 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 00:28:37 +0000 |
commit | d5950593f2e966032a81d4f150b24834c18a521b (patch) | |
tree | 8eb0aed3e97b4dd1b34a81487250c42cf96bb08b /crawl-ref/source/it_use3.cc | |
parent | 297297da01e51a1ba70d3fde8c994ab9bb4f890c (diff) | |
download | crawl-ref-d5950593f2e966032a81d4f150b24834c18a521b.tar.gz crawl-ref-d5950593f2e966032a81d4f150b24834c18a521b.zip |
Clean up the routines to animate the dead.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5621 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r-- | crawl-ref/source/it_use3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index 05c8c8ce55..4b813afd81 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -47,6 +47,7 @@ #include "skills2.h" #include "spells1.h" #include "spells2.h" +#include "spells3.h" #include "spl-book.h" #include "spl-cast.h" #include "spl-util.h" @@ -199,7 +200,7 @@ void special_wielded() case SPWLD_ZONGULDROK: if (one_chance_in(5)) { - animate_dead( &you, 1 + random2(3), BEH_HOSTILE, MHITYOU, 1 ); + animate_dead(&you, 1 + random2(3), BEH_HOSTILE, MHITYOU); did_god_conduct( DID_NECROMANCY, 1 ); } break; |