load_land_ship() and load_land_land() automatically resupply the land
units they load. This can draw supplies from the sector where the
land units are. When load() and lload() later update the sector, they
wipe out the update made for drawing supplies, and we get a seqno
mismatch oops. Highly abusable.
Oil derricks need to set up shop before they produce: no production
while mobility is below maximum.
.s1
-Automatic shell supply for sector flak and ship missile defense is
-disabled, because its bugs interfere with Hvy Metal modifications.
+Automatic shell supply for sector flak, ship flak and ship missile
+defense is disabled, because its bugs interfere with Hvy Metal
+modifications. Same for automatic supply of land units on loading
+them onto ships or land units.
.s1
Missed updates due to server problems will be forced if caught within
15 minutes of planned update time or skipped otherwise.
land.lnd_ship = sp->shp_uid;
land.lnd_harden = 0;
land.lnd_mission = 0;
+#if 0
+ /*
+ * FIXME if this supplies from the sector, the putsect in
+ * load() / lload() duplicates those supplies, causing a
+ * seqno mismatch
+ */
resupply_all(&land);
+#endif
sp->shp_nland++;
putland(land.lnd_uid, &land);
if (!has_supply(&land))
land.lnd_land = lp->lnd_uid;
land.lnd_harden = 0;
land.lnd_mission = 0;
+#if 0
+ /* FIXME same issue as in load_land_ship() */
resupply_all(&land);
+#endif
lp->lnd_nland++;
putland(land.lnd_uid, &land);
if (!has_supply(&land))