forked from github/server
at_follow Attribut wird nicht mehr im CR/NR ausgegeben, da es ohnehin nicht gespeichert wird.
This commit is contained in:
parent
3db6b2a9fd
commit
659d32e5f3
|
@ -728,13 +728,7 @@ cr_output_unit(FILE * F, const region * r,
|
||||||
order * ord;
|
order * ord;
|
||||||
const char *c;
|
const char *c;
|
||||||
int i;
|
int i;
|
||||||
const attrib * a;
|
|
||||||
|
|
||||||
a = a_find(u->attribs, &at_follow);
|
|
||||||
if (a) {
|
|
||||||
unit * u = (unit*)a->data.v;
|
|
||||||
if (u) fprintf(F, "%d;folgt\n", u->no);
|
|
||||||
}
|
|
||||||
i = ualias(u);
|
i = ualias(u);
|
||||||
if (i>0)
|
if (i>0)
|
||||||
fprintf(F, "%d;temp\n", i);
|
fprintf(F, "%d;temp\n", i);
|
||||||
|
|
|
@ -429,22 +429,6 @@ bufunit(const faction * f, const unit * u, int indent, int mode)
|
||||||
bufp += rsize;
|
bufp += rsize;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->faction==f || telepath_see) {
|
|
||||||
attrib * a = a_find(u->attribs, &at_follow);
|
|
||||||
if (a) {
|
|
||||||
unit * uf = (unit*)a->data.v;
|
|
||||||
if (uf) {
|
|
||||||
rsize = strlcpy(bufp, ", folgt ", size);
|
|
||||||
if (rsize>size) rsize = size-1;
|
|
||||||
size -= rsize;
|
|
||||||
bufp += rsize;
|
|
||||||
rsize = strlcpy(bufp, itoa36(uf->no), size);
|
|
||||||
if (rsize>size) rsize = size-1;
|
|
||||||
size -= rsize;
|
|
||||||
bufp += rsize;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if ((b = usiege(u))!=NULL) {
|
if ((b = usiege(u))!=NULL) {
|
||||||
rsize = strlcpy(bufp, ", belagert ", size);
|
rsize = strlcpy(bufp, ", belagert ", size);
|
||||||
if (rsize>size) rsize = size-1;
|
if (rsize>size) rsize = size-1;
|
||||||
|
|
Loading…
Reference in New Issue