]> git.pond.sub.org Git - empserver/commit
Fix recon and sweep not to spy after all spy planes are gone
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Sep 2008 17:11:44 +0000 (13:11 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 Feb 2009 16:14:38 +0000 (17:14 +0100)
commite3d4bb00802247377e39e1ac547281697acfeb56
tree3108f4102441d260686617f314f47a6dd329feee
parent08b94556826ec883ab68c736ad8494118511446c
Fix recon and sweep not to spy after all spy planes are gone

A reconnaissance patrol (recon and sweep) reports much more detail
when spy planes participate.  However, ac_encounter() didn't stop
doing that after all spy planes were shot down or aborted.

Fix by recalculating plane capabilities for every sector.
src/lib/subs/aircombat.c