]> git.pond.sub.org Git - empserver/commit
Disable recursive supply of land units
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 15 Feb 2009 08:15:53 +0000 (09:15 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 17 Feb 2009 18:30:35 +0000 (19:30 +0100)
commited5ca70cb26b523e3bf6558a5112fe109a64dea3
treea6d753b53d0571d831b172d8b041337cade49baa
parent5ea0d19c20966e516b2bfc047fb9a1fdb7f6a900
Disable recursive supply of land units

Its implementation in s_commod() increases lnd_seqno even when
!actually_doit, which can cause spurious seqno oopses in callers of
lnd_could_be_supplied().  I can't be bothered to clean up this mess
right now, because recursive resupply is too dumb to be really useful
anyway: each step uses the first source it finds, without
consideration of mobility cost.
info/supply.t
src/lib/subs/supply.c