]> git.pond.sub.org Git - empserver/commit
supply: Fix harmless bug in supply from ship in same sector
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 17 Aug 2013 15:57:23 +0000 (17:57 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 17 Aug 2013 15:57:23 +0000 (17:57 +0200)
commit1621522c1c408c0182a88c9aadca678dde672809
tree7bfafa552bc7a73fc3302110f526ab6926c917a6
parent7d78c586c6eab263ecc1d0155089f63dd9c5bb0b
supply: Fix harmless bug in supply from ship in same sector

Bug bites when a ship supplies the sector it's in.  First the sector
is charged zero mob for moving the stuff, and is written back.  Next,
the sector receives the stuff, and is written back, clobbering the
first write (no effect), and triggering a seqno oops.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/supply.c