empserver/tests/update
Markus Armbruster 2402f3f2a2 lost: Fix to track more than one lost sector per owner
makelost() overwrites an existing entry for the same thing, else
creates a new one.  It calls findlost() to find existing entries.
findlost() means to look up by coordinates if it's looking for a
sector entry, and by ID if it's looking for a ship, plane, land unit
or nuke entry.  It actually does both for sectors.  Since callers pass
zero ID for sectors, sector entries always match, so at most one gets
created, and additional ones overwrite it.

Broken since the lost table was introduced in 4.0.7.  Fix the flawed
comparison in findlost().

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:18 +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: Reorder unit building and maintenance for fairness 2017-08-06 20:08:31 +02:00
final.xdump lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
journal.log update: Reorder feeding, tax & plague for consistency 2017-08-06 20:09:16 +02:00
server.log tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
setup-POGO update: Reorder unit building and maintenance for fairness 2017-08-06 20:08:31 +02:00