]> git.pond.sub.org Git - empserver/commit
Fix tend not to leak which commodities are loaded on friendlies
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Jun 2012 17:48:36 +0000 (19:48 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jun 2012 06:47:08 +0000 (08:47 +0200)
commite16fc41b2ed9007fce5386a97bfc24272214014f
tree475f366c57bbc9462b30b0e9ae9375dacce45a4d
parent20b259821482d91bebdfd9598f8988b91299636b
Fix tend not to leak which commodities are loaded on friendlies

Tending a negative number of commodities takes from the target ships.
The target ships must be owned.  Tend complains when the target
doesn't have the commodity loaded.  It does that even for friendly
foreign ships.  Don't.

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