From 13ce4231e8a329f23cee9a6e0599d27507c09473 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 6 Mar 2005 18:29:26 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D44?= =?UTF-8?q?7=20Untote=20Helden=20z=C3=A4hlen=20in=20der=20Statistik=20zu?= =?UTF-8?q?=20den=20Toten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/combatspells.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/combatspells.c b/src/common/kernel/combatspells.c index a027bc740..a1a2b587e 100644 --- a/src/common/kernel/combatspells.c +++ b/src/common/kernel/combatspells.c @@ -1743,9 +1743,12 @@ sp_undeadhero(fighter * fi, int level, double power, spell * sp) /* transfer dead people to new unit, set hitpoints to those of old unit */ transfermen(du, u, j); u->hp = u->number * unit_max_hp(du); - assert(j<=df->side->casualties); + assert(j<=df->side->casualties); df->side->casualties -= j; + /* tot sind sie eignetlich immer noch. + * siehe http://eressea.upb.de/mantis/view.php?id=447 df->side->dead -= j; + */ /* counting total number of undead */ undead += j;