]> git.pond.sub.org Git - empserver/commit
Fix tend from target not to stop on foreign target
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Jun 2012 17:39:23 +0000 (19:39 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jun 2012 06:45:55 +0000 (08:45 +0200)
commit20b259821482d91bebdfd9598f8988b91299636b
tree7a9fbab624477d621a9a18c14d25c71fb5beb709
parentf11071f3b707a791383816283c5484fefb19ce1d
Fix tend from target not to stop on foreign target

Tending a negative number of commodities takes from the target ships.
When a target ship is foreign, tend silently stops.  This is wrong.
Fix it to skip foreign target ships instead.

Broken when Chainsaw 2 added tending to allies.
src/lib/commands/tend.c