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

View file

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