fix missing curly brace, indentation. hope I got this right.

This commit is contained in:
Enno Rehling 2014-08-13 19:55:10 +02:00
parent 77f126a0bd
commit 444971542c
1 changed files with 42 additions and 41 deletions

View File

@ -1080,6 +1080,7 @@ static bool maintain(building * b, bool first)
}
}
}
}
if (need > 0) {
if (!fval(m, MTF_VITAL))
work = false;
@ -2345,7 +2346,7 @@ static void expandselling(region * r, request * sellorders, int limit)
a_remove(&u->attribs, a);
add_income(u, IC_TRADE, u->n, u->n);
}
}
}
static bool sell(unit * u, request ** sellorders, struct order *ord)
{
@ -2525,9 +2526,9 @@ static void expandstealing(region * r, request * stealorders)
if (u2->faction == u->faction) {
uct += maintenance_cost(u2);
}
}
}
n -= uct * 2;
}
}
#endif
if (n > 10 && rplane(r) && (rplane(r)->flags & PFL_NOALLIANCES)) {
/* In Questen nur reduziertes Klauen */