empserver/tests/actofgod
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
..
final.xdump lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
geninput.pl tests/actofgod: Test plane type change's effect on range 2015-03-02 08:20:47 +01:00
journal.log retreat lretreat edit xdump: Change "torped" to "torpedoed" 2015-03-02 08:20:49 +01:00
server.log tests: Enable running_test_suite by default 2014-01-19 10:09:17 +01:00
setup-POGO tests/actofgod: Switch setup from deprecated setsect to edit 2014-02-16 13:19:27 +01:00