- fixed an issue in calculation tactics turn.
This commit is contained in:
Enno Rehling 2010-01-20 04:14:27 +00:00
parent 1494507f4a
commit cb48e03ad2
1 changed files with 8 additions and 10 deletions

View File

@ -4239,18 +4239,16 @@ battle_attacks(battle * b)
if (b->turn == 0) {
int tactics = get_tactics(s, NULL);
if (b->max_tactics > 0 && tactics == b->max_tactics) {
break;
for (fig=s->fighters;fig;fig=fig->next) {
/* ist in dieser Einheit noch jemand handlungsfähig? */
if (fig->fighting <= 0) continue;
/* Handle the unit's attack on someone */
do_attack(fig);
}
}
}
for (fig=s->fighters;fig;fig=fig->next) {
/* ist in dieser Einheit noch jemand handlungsfähig? */
if (fig->fighting <= 0) continue;
/* Handle the unit's attack on someone */
do_attack(fig);
}
}
}