empserver/tests/navi-march
Markus Armbruster f5514cb452 edit: Fix fortification limit of embarked planes and land units
We generally preserve the invariant "land units and missiles loaded on
a land unit or ship are never fortified / hardened": fortify and
harden refuse to touch embarked land units and missiles, load and
lload zap land unit fortification on load, and refuse to load hardened
missiles.

The exception is edit, which happily fortifies embarked land units
(edit u key 'F'), hardens embarked missiles (edit p key 'F'), loads
fortified land units (edit u keys 'S' and 'Y') and hardened planes
(edit p keys 's' and 'y').

Fix the first two by correcting the new value's upper limit to zero
for embarked land units and planes.  The next commit will take care of
the rest.

The fix is visible in tests where test setup fortifies land units with
"edit u * F ?..." without excepting embarked ones.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-05 10:38:57 +01:00
..
01-navigate-1 tests/navi-march: Cover abort at movement prompt 2015-12-05 13:19:39 +01:00
02-march-1 tests/navi-march: Cover abort at movement prompt 2015-12-05 13:19:39 +01:00
99-POGO tests: Wean off deprecated retreat syntax 2015-03-02 08:20:49 +01:00
final.xdump edit: Fix fortification limit of embarked planes and land units 2021-01-05 10:38:57 +01:00
journal.log edit: Fix fortification limit of embarked planes and land units 2021-01-05 10:38:57 +01:00
server.log navigate march: Fix abort not to wipe out concurrent updates 2015-12-05 13:19:39 +01:00
setup-POGO Correct spelling as one word and as two words 2017-08-07 10:08:31 +02:00