empserver/tests/update
Markus Armbruster 2315b50e52 update/revolt: Fix guerrilla liberating old-owned sector
Guerrilla are created loyal to the old owner.  When the sector
converts, they switch their allegiance to POGO.  This is a bit of a
hack.

When guerrilla win their fight for freedom in an old-owned sector, the
old-owner duly changes to POGO.  However, the owner doesn't.  Broken
in 4.2.6.  The "Sector X,Y has been retaken!" message is still sent to
the "new" sector owner.

Simply restoring the owner change lost back then would restore a bug
that goes back to 2.3.7: takeover() doesn't run when an old-owned
sector is liberated.  So fix the bug by making that unconditional.

Land units reported captured are actually destroyed, because POGO
can't own any.  Oh well.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:19 +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 guerrilla liberating old-owned sector 2017-08-06 20:09:19 +02:00
journal.log update/revolt: Fix guerrilla liberating old-owned sector 2017-08-06 20:09:19 +02:00
server.log tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
setup-POGO tests/update: Cover guerrilla shootout 2017-08-06 20:09:19 +02:00