forked from github/server
noch eine Stelle vergessen
This commit is contained in:
parent
f371ca5ef1
commit
dabbeb39a6
|
@ -196,12 +196,10 @@ showregion(region * r, char full)
|
||||||
faction *f;
|
faction *f;
|
||||||
int d,pp=0, ecount[MAXRACES], count[MAXRACES];
|
int d,pp=0, ecount[MAXRACES], count[MAXRACES];
|
||||||
char str[256];
|
char str[256];
|
||||||
#if NEW_RESOURCEGROWTH
|
|
||||||
int iron = -1, ironlevel = -1,
|
int iron = -1, ironlevel = -1,
|
||||||
laen = -1, laenlevel = -1,
|
laen = -1, laenlevel = -1,
|
||||||
stone = -1, stonelevel = -1;
|
stone = -1, stonelevel = -1;
|
||||||
struct rawmaterial *res;
|
struct rawmaterial *res;
|
||||||
#endif
|
|
||||||
|
|
||||||
if (reglist) {
|
if (reglist) {
|
||||||
freelist(reglist);
|
freelist(reglist);
|
||||||
|
@ -231,7 +229,6 @@ showregion(region * r, char full)
|
||||||
sncat(buf, "trees", BUFSIZE);
|
sncat(buf, "trees", BUFSIZE);
|
||||||
adddbllist(®list, buf);
|
adddbllist(®list, buf);
|
||||||
|
|
||||||
#if NEW_RESOURCEGROWTH
|
|
||||||
for(res=r->resources;res;res=res->next) {
|
for(res=r->resources;res;res=res->next) {
|
||||||
const item_type * itype = resource2item(res->type->rtype);
|
const item_type * itype = resource2item(res->type->rtype);
|
||||||
if(itype == olditemtype[I_IRON]) {
|
if(itype == olditemtype[I_IRON]) {
|
||||||
|
@ -266,12 +263,6 @@ showregion(region * r, char full)
|
||||||
snprintf(buf, BUFSIZE, " %d stone/%d", stone, stonelevel);
|
snprintf(buf, BUFSIZE, " %d stone/%d", stone, stonelevel);
|
||||||
adddbllist(®list, buf);
|
adddbllist(®list, buf);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
if (riron(r) > 0 || rlaen(r) > 0) {
|
|
||||||
sprintf(buf, " %d Eisen, %d Laen", riron(r), rlaen(r));
|
|
||||||
adddbllist(®list, buf);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (fval(r, RF_CHAOTIC)) {
|
if (fval(r, RF_CHAOTIC)) {
|
||||||
adddbllist(®list, "chaotisch");
|
adddbllist(®list, "chaotisch");
|
||||||
|
|
Loading…
Reference in New Issue