- 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,10 +4239,6 @@ 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? */
@ -4253,6 +4249,8 @@ battle_attacks(battle * b)
}
}
}
}
}
/** updates the number of attacking troops in each fighter struct.
* this has to be calculated _before_ the actual attacks take