forked from github/server
Untote Helden zählen in der Statistik zu den Toten.
This commit is contained in:
parent
343290668a
commit
13ce4231e8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue