forked from github/server
fix missing curly brace, indentation. hope I got this right.
This commit is contained in:
parent
77f126a0bd
commit
444971542c
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue