diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 341a2a8be..87a9c2b6f 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -2466,7 +2466,7 @@ promote_cmd(unit * u, struct order * ord) } use_all(u, i_silver->rtype, people); fset(u, UFL_HERO); - ADDMSG(&u->faction->msgs, msg_message(u, ord, "hero_promotion", "unit cost", + ADDMSG(&u->faction->msgs, msg_message("hero_promotion", "unit cost", u, money)); return 0; } diff --git a/src/common/kernel/battle.c b/src/common/kernel/battle.c index 66eeb9db6..2e20ecb25 100644 --- a/src/common/kernel/battle.c +++ b/src/common/kernel/battle.c @@ -1193,7 +1193,6 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile) } #ifdef SHOW_KILLS ++at.fighter->kills; - assert(at.fighter->kills>=at.fighter->hits); #endif #ifdef SMALL_BATTLE_MESSAGES