at_follow Attribut wird nicht mehr im CR/NR ausgegeben, da es ohnehin nicht gespeichert wird.

This commit is contained in:
Enno Rehling 2005-07-22 18:19:24 +00:00
parent 3db6b2a9fd
commit 659d32e5f3
2 changed files with 0 additions and 22 deletions

View File

@ -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);

View File

@ -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;