]> git.pond.sub.org Git - empserver/commit
(guerrilla): Give wandering che inexact, somewhat randomized
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 28 Jan 2004 19:30:15 +0000 (19:30 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 28 Jan 2004 19:30:15 +0000 (19:30 +0000)
commit40b35c4f300ebd47a419e90a30b32ec62b738153
tree5211f0e156dbbbd8bc552b61823c7cb10089d462
parentdc9a19b3242339d05fb0773af1d8a3f5c6503298
(guerrilla): Give wandering che inexact, somewhat randomized
information on military.  Closes #750533.  Why?  Wandering che pick a
sector with minimal military from the adjacent sectors that can get
che.  Ties are broken in favour of the first sector examined.  Since
sectors are examined in the order given by by diroff[], che prefer
directions with low index in diroff[].  This tends to channel che
towards the northeast.  But the change makes ties very unlikely.
src/lib/update/revolt.c