forked from github/server
Zeige keine Luxusgüter-Statistik im Ozean.
This commit is contained in:
parent
102a0e0e27
commit
510b6c2628
|
@ -1216,15 +1216,15 @@ static void statistics(struct stream *out, const region * r, const faction * f)
|
|||
|
||||
if (!markets_module()) {
|
||||
if (buildingtype_exists(r, bt_find("caravan"), true)) {
|
||||
m = msg_message("nr_stat_luxuries", "max", (p * 2) / TRADE_FRACTION);
|
||||
p *= 2;
|
||||
}
|
||||
else {
|
||||
if (p >= TRADE_FRACTION) {
|
||||
m = msg_message("nr_stat_luxuries", "max", p / TRADE_FRACTION);
|
||||
}
|
||||
nr_render(m, f->locale, buf, sizeof(buf), f);
|
||||
paragraph(out, buf, 2, 2, 0);
|
||||
msg_release(m);
|
||||
}
|
||||
}
|
||||
|
||||
/* count */
|
||||
for (number = 0, u = r->units; u; u = u->next) {
|
||||
|
|
Loading…
Reference in New Issue