From cc111c31b902286bbdde3ae79f2b9530c47228f2 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 22 Apr 2009 22:20:45 +0000 Subject: Simplify. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9680 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/spells3.cc') 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)) -- cgit v1.2.3-54-g00ecf