empserver/tests/update
Markus Armbruster 60429028e7 update/revolt: Fix land unit casualties
Fix the bug demonstrated by the previous commit:
take_casualties_from_lands() limits total casualties to @each.  It
should limit each land unit's casualties, and only if !may_kill.  This
can lead to fewer casualties than called for; oops in
take_casualties().  Broken in commit 025e9cc25, v4.4.0.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2018-04-29 10:33:48 +02:00
..
01-1 budget: Fix for ship, plane, land unit building abroad 2017-08-06 20:08:30 +02:00
02-2 update: Don't double-round money, fixing mil pay and more 2017-08-06 20:07:55 +02:00
03-3 budget: Fix treasury tracking 2017-08-06 20:00:00 +02:00
04-4 update: Fix sector maintenance when stopped or broke 2017-08-06 20:08:30 +02:00
05-5 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
06-6 budget: Fix for ship, plane, land unit building abroad 2017-08-06 20:08:30 +02:00
07-7 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
99-POGO update/revolt: Fix guerrilla liberating old-owned sector 2017-08-06 20:09:19 +02:00
final.xdump update/revolt: Fix land unit casualties 2018-04-29 10:33:48 +02:00
journal.log update/revolt: Fix land unit casualties 2018-04-29 10:33:48 +02:00
server.log update/revolt: Fix land unit casualties 2018-04-29 10:33:48 +02:00
setup-POGO tests/update: Demonstrate take_casualties_from_lands() bug 2018-04-10 16:48:20 +02:00