]> git.pond.sub.org Git - empserver/commit
Refactor interception over ships and land units
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 22 Sep 2008 02:25:19 +0000 (22:25 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 Feb 2009 16:14:38 +0000 (17:14 +0100)
commit99cf7055307798d3b0b8ee009b230a3ae01ce68c
treecf9daa7192cb8609ba624ad6a7055c1013613560
parent2030decb99b47dbab307990d3277333e9ecae926
Refactor interception over ships and land units

ac_encounter() lets all owners of ships and land units in the target
sector intercept, but not more than once.

Move the interception code behind reporting of both ships and land
units.  Before, it was duplicated for ships and land units.  Land
units didn't get reported when no bombers got through interception
triggered by ships.
src/lib/subs/aircombat.c