diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-23 05:40:11 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-23 05:40:11 +0000 |
commit | 8ba107149b1da7f22fa0ca7faa369a93a6d0cb29 (patch) | |
tree | e4004bc4ec62ffd8605cf7552d1e3b684553e4d2 /crawl-ref/source/spells3.h | |
parent | a19dd0dd929c31c3fbeb0479a2498df3b51ad057 (diff) | |
download | crawl-ref-8ba107149b1da7f22fa0ca7faa369a93a6d0cb29.tar.gz crawl-ref-8ba107149b1da7f22fa0ca7faa369a93a6d0cb29.zip |
Make messages for animating single skeletons/corpses versus multiple
ones consistent. Also, display a proper warning message if a player
tries to animate a single skeleton/corpse while not actually standing on
one.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8707 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.h')
-rw-r--r-- | crawl-ref/source/spells3.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells3.h b/crawl-ref/source/spells3.h index c4e33d720d..dc60cd6599 100644 --- a/crawl-ref/source/spells3.h +++ b/crawl-ref/source/spells3.h @@ -51,10 +51,10 @@ bool cast_shadow_creatures(god_type god = GOD_NO_GOD); bool cast_summon_horrible_things(int pow, god_type god = GOD_NO_GOD); void equip_undead(const coord_def &a, int corps, int monster, int monnum); -bool animate_remains(const coord_def &a, corpse_type class_allowed, - beh_type beha, unsigned short hitting, - god_type god = GOD_NO_GOD, bool actual = true, - bool quiet = false, int* mon_index = NULL); +int animate_remains(const coord_def &a, corpse_type class_allowed, + beh_type beha, unsigned short hitting, + god_type god = GOD_NO_GOD, bool actual = true, + bool quiet = false, int* mon_index = NULL); int animate_dead(actor *caster, int pow, beh_type beha, unsigned short hitting, god_type god = GOD_NO_GOD, bool actual = true); |