]> git.pond.sub.org Git - empserver/commitdiff
assault attack board lboard paradrop spy: Fix missing newline
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2016 07:51:08 +0000 (09:51 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:18 +0000 (20:09 +0200)
The intelligence reports on land units lack a newline.  Broken in
commit c8e5b4f, v4.3.33.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/lndsub.c

index 6cbf1b7a354ca7502ab2e45318c145c5b1be0853..bcf183d00739c791fb1ee1cc99779eee92643fb2 100644 (file)
@@ -369,7 +369,7 @@ intelligence_report(natid destination, struct lndstr *lp, int spy,
            buf2[0] = buf3[0] = 0;
        }
        if (destination == player->cnum)
-           pr("%s%s%s", buf1, buf2, buf3);
+           pr("%s%s%s\n", buf1, buf2, buf3);
        else
            wu(0, destination, "%s%s%s\n", buf1, buf2, buf3);
     }