diff --git a/src/report.c b/src/report.c index ca7bf70ee..a208bff02 100644 --- a/src/report.c +++ b/src/report.c @@ -2203,6 +2203,10 @@ report_plaintext(const char *filename, report_context * ctx, } } } + else while (u && u->building) { + /* do not report units in buildings */ + u = u->next; + } while (u && !u->ship) { if (visible_unit(u, f, stealthmod, r->seen.mode)) { nr_unit(out, f, u, 4, r->seen.mode);