forked from github/server
* Katapulte aus der dritten Reihe meldeten unglaubliche Treffer (statt 0).
This commit is contained in:
parent
5d770917ef
commit
c59545c4e3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue