This commit is contained in:
Enno Rehling 2007-01-31 15:30:57 +00:00
parent 622d0d496e
commit 03d96be44f
1 changed files with 1 additions and 1 deletions

View File

@ -2203,13 +2203,13 @@ make_side(battle * b, const faction * f, const group * g, unsigned int flags, co
{ {
side *s1 = calloc(sizeof(struct side), 1); side *s1 = calloc(sizeof(struct side), 1);
bfaction * bf; bfaction * bf;
unit * u;
#ifdef SIMPLE_COMBAT #ifdef SIMPLE_COMBAT
if (!fval(b->region->terrain, LAND_REGION)) { if (!fval(b->region->terrain, LAND_REGION)) {
/* in ozeanregionen ist jeder kampf kurz */ /* in ozeanregionen ist jeder kampf kurz */
flags |= SIDE_HASGUARDS; flags |= SIDE_HASGUARDS;
} else { } else {
unit * u;
for (u = b->region->units; u; u = u->next) { for (u = b->region->units; u; u = u->next) {
if (getguard(u)) { if (getguard(u)) {
faction *fv = visible_faction(f, u); faction *fv = visible_faction(f, u);