diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-22 22:20:45 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-22 22:20:45 +0000 |
commit | cc111c31b902286bbdde3ae79f2b9530c47228f2 (patch) | |
tree | 4a3e710871536867070b53ce7cfccafb633aa038 /crawl-ref/source/spells3.cc | |
parent | a9488d6e841ad96e341b6b4a77f09e5624cb6c5f (diff) | |
download | crawl-ref-cc111c31b902286bbdde3ae79f2b9530c47228f2.tar.gz crawl-ref-cc111c31b902286bbdde3ae79f2b9530c47228f2.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9680 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 2eea4855ff..66ab9a0cdb 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -926,13 +926,9 @@ int animate_remains(const coord_def &a, corpse_type class_allowed, // Ignore quiet. if (was_butchering) { - if (beha == BEH_HOSTILE) - mpr("The corpse you are butchering rises to attack!"); - else - { - mpr("The corpse you are butchering rises to join " - "your ranks!"); - } + mprf("The corpse you are butchering rises to %s!", + beha == BEH_FRIENDLY ? "join your ranks" + : "attack"); } if (!quiet && see_grid(a)) |