]> git.pond.sub.org Git - empserver/commit
trade: Don't increase negative mobility to zero on trade
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 10 Aug 2017 04:45:42 +0000 (06:45 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 12 Aug 2017 06:07:44 +0000 (08:07 +0200)
commit8637ef93b3bbb8fe9e6aef26ed64f01e52a03e61
treef45ea7d8112bf02bdc54789f3c9a6a5f2079c624
parent9a535b3d295bbeb839a230efecb0ef60f89191b4
trade: Don't increase negative mobility to zero on trade

check_trade() sets plane and land unit mobility to zero on trade.
Even when it's negative.  Fix to leave it alone then.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
info/Bugs.t
src/lib/commands/trad.c