]> git.pond.sub.org Git - empserver/commit
Fix ground combat to report defending land units
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 31 May 2008 08:35:47 +0000 (10:35 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 31 May 2008 15:30:20 +0000 (17:30 +0200)
commit64f44e99044a8b28b8631a27fc882a959f737f84
tree9a9361de128dea028504e247357f36e5f9037ab9
parentaacd0fb754ef060af92bb08907c5cda196bf34e3
Fix ground combat to report defending land units

Commit 092a52f2 (v4.3.4) removed the code to estimate defense, because
the use of the estimate had been disabled since v4.0.0.  This
accidentally removed the reporting of defending units, because
get_dlist() reported them when called for an estimate, and not when
called for real.

Fix by removing the unused estimate capability from get_dlist().  It
now reports defending units always.
src/lib/subs/attsub.c