]> git.pond.sub.org Git - empserver/commit
Disable another incorrect use of supply_commod()
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 10 May 2008 07:27:52 +0000 (09:27 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 10 May 2008 07:27:52 +0000 (09:27 +0200)
commit6ae83d34e92388a826d2b9c72bdd509fe54d3e60
treeb2b283a9b5acd02d3beeec0bf30f9566c9681504
parent92f70aa5c19fa766d1c8848775cf3e9a67a304ad
Disable another incorrect use of supply_commod()

navi() reads the ships into a list.  When the ships get interdicted,
and lack flak shells, ac_shipflak() tries to get one and updates the
ship.  When the ship in the list is later written back, e.g. to apply
interdiction damage, the flak shell is wiped out, and we get a seqno
mismatch oops.

Disable automatic flak shell supply in ac_ship_flak() for now.  This
is related to commit f7d61817, which disabled automatic supply of
shells in ac_doflak() and shp_missile_defense().
src/lib/subs/aircombat.c