From c59545c4e323c3bb71ebdc78d3b62f9a1768f0a4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 24 Mar 2002 10:34:17 +0000 Subject: [PATCH] * Katapulte aus der dritten Reihe meldeten unglaubliche Treffer (statt 0). --- src/common/kernel/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/battle.c b/src/common/kernel/battle.c index eda63f5c7..4eac4ccf0 100644 --- a/src/common/kernel/battle.c +++ b/src/common/kernel/battle.c @@ -1876,7 +1876,7 @@ attack(battle *b, troop ta, const att *a) } else { boolean standard_attack = true; if (wp && wp->type->attack) { - int dead; + int dead = 0; standard_attack = wp->type->attack(&ta, &dead, row); af->catmsg += dead; /* TODO: dies hier ist nicht richtig. wenn die katapulte/etc.