]> git.pond.sub.org Git - empserver/commit
Simplify use of shp_missile_interdiction()
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 1 Jan 2010 15:38:47 +0000 (16:38 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 19 Jan 2010 07:37:05 +0000 (08:37 +0100)
commita90b3e8819f53d06843dc229e24334a430d20b5f
treea8e4e6f74ae4990ac927ede67d9dc610b32e05ff
parent132b52a475a985285a28047da84d152412f6a1e4
Simplify use of shp_missile_interdiction()

shp_missile_interdiction() does nothing when there are no suitable
targets.  Its users avoid to call it when there are none, probably to
save a few cycles.  Optimize shp_missile_interdiction() for that case,
and simplify the callers.
src/lib/subs/shpsub.c