]> git.pond.sub.org Git - empserver/commit
(load_it): Loaded negative amount if ship had more cargo than ordered.
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 17 Sep 2004 13:06:08 +0000 (13:06 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 17 Sep 2004 13:06:08 +0000 (13:06 +0000)
commite8a089fe149f3b750fc66b2e38b288be5e10a0d6
treeca8f15c662743f63ff1f037dd0d297e6ef55d316
parent67480d040daf78335dd44d18e27ceb6f486330bd
(load_it): Loaded negative amount if ship had more cargo than ordered.
This can happen when unload_it() can't unload, e.g. because sector is
full.  This can push the sector's amount beyond ITEM_MAX, and can even
overflow to negative amounts.
src/lib/update/nav_util.c