]> git.pond.sub.org Git - empserver/commit
attack assault board: Fix message when attacking land unit dies
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2016 13:08:14 +0000 (15:08 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:19 +0000 (20:09 +0200)
commit3a1f240dc4d0f0c65cc76cdf72c98601c15681d4
treeda70dddb43484e6d3efce9128fc33e505fc3167b
parent6fd04eabeef7a71ddb3b6f705c68b10d50b6c010
attack assault board: Fix message when attacking land unit dies

Loss of an attacking land is reported like this:

    @linf light infantry #1 dies assault 21,-3!

Bad grammar and newline missing between the "@" casualty character and
the message.  Messed up in Empire 2.  Affects only attackers, because
the code special-cases defense to avoid the bad grammar there (close,
but no cigar), and defenders don't get casualty characters printed.
Fix it to

    @
    linf light infantry #1 dies assaulting 21,-3!

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