]> git.pond.sub.org Git - empserver/commit
attack assault board: Really require offensive strength
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2016 11:59:52 +0000 (13:59 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:18 +0000 (20:09 +0200)
commit490b9392f09a25b05f128c00f37d27549b490d55
tree7c481448c2f66842140c448078e2c6f15cdddfcb
parent406fdab125ec26d3e12c5172b65575e13587f560
attack assault board: Really require offensive strength

The server doesn't let you send land units without offensive strength
into combat: ask_olist() doesn't offer them.  But if their strength
gets somehow destroyed between ask_olist() and the actual fight, they
go anyway.

Check again before the fight, and leave land units without offensive
strength behind.

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