]> git.pond.sub.org Git - empserver/commit
(feed_land): Simplify. Amount of food taken from ship could be off by
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 11 Mar 2004 15:27:59 +0000 (15:27 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 11 Mar 2004 15:27:59 +0000 (15:27 +0000)
commitabaf9e06ecab1df10941974f068e7722b4d9a220
tree75e9f26ed5f3e9a3529a7a24d0a6b99e686dcea3
parent0652930d67f13497ed762613d6bb577cd4bd2439
(feed_land): Simplify.  Amount of food taken from ship could be off by
one due to rounding, fix.  However, the fixed code is currently
unreachable, as caller runs resupply_commod() before feed_land().
(feed_ship): Simplify.  No functional changes.
src/lib/update/land.c
src/lib/update/ship.c