]> git.pond.sub.org Git - empserver/commit
Fix update's resupply of food to avoid starvation
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:01:23 +0000 (20:01 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 20:00:56 +0000 (21:00 +0100)
commit03811b2c97d9537cfeaf4e5a6726002b0b0d6b78
tree781b7408de14e99ab876764dcf5035365bb594f2
parentf89edc7ae6f1779eb1ddd32c9e0d9d9ce5ea7d43
Fix update's resupply of food to avoid starvation

do_feed() used supply_commod() incorrectly, which wiped out all food
in the starving sector.
src/lib/update/human.c