]> git.pond.sub.org Git - empserver/commit
Take ship cost into account when picking missile interdiction target
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 8 Jan 2013 16:49:30 +0000 (17:49 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 12 Jan 2013 16:56:39 +0000 (17:56 +0100)
commitbcff368909d82ee3002fa61ac938c2e3ab5211ed
treecc00485357a769921d37366716ea6a6db9d33e09
parentbfea79a72d53566745a2310c96c34de1d6ebf45f
Take ship cost into account when picking missile interdiction target

Due to a typo, shp_missile_interdiction() picks the admissible target
with highest efficiency instead of the one with highest efficiency *
build cost.

Broken in commit cd8d7423, v4.3.8.
src/lib/subs/shpsub.c