Drop capabilities stealth and half-stealth

These were leftovers from Chainsaw, and their only remaining effect
was a flak bonus.

The got replaced except for flak by plane selector stealth under
Chainsaw option STEALTHV, which became mandatory in Empire 2.  It is
unclear why STEALTHV didn't cover flak.  No planes with these
capabilities have existed in the stock game since Empire 2.
This commit is contained in:
Markus Armbruster 2009-10-04 13:13:36 -04:00
parent 0e8bcce59c
commit 61233e47e8
3 changed files with 2 additions and 8 deletions

View file

@ -105,9 +105,9 @@ struct plchrstr {
#define P_S bit(7) /* Spy ability */
#define P_I bit(8) /* Imaging ability (advanced spying) */
#define P_O bit(9) /* Orbital ability (a satellite) */
#define P_X bit(10) /* Stealth ability */
/* unused bit(10) */
#define P_N bit(11) /* Nuclear RV interceptor (abm) */
#define P_H bit(12) /* Half stealthy */
/* unused bit(12) */
#define P_E bit(13) /* extra light */
#define P_K bit(14) /* chopper */
#define P_A bit(15) /* ASW (Anti-Sub Warfare) */

View file

@ -208,9 +208,7 @@ struct symbol plane_chr_flags[] = {
{P_S, "spy"},
{P_I, "image"},
{P_O, "satellite"},
{P_X, "stealth"},
{P_N, "SDI"},
{P_H, "half-stealth"},
{P_E, "x-light"},
{P_K, "helo"},
{P_A, "ASW"},

View file

@ -780,10 +780,6 @@ ac_flak_dam(int guns, int def, int pl_flags)
flak = guns - def;
if ((pl_flags & P_T) == 0)
flak--;
if (pl_flags & P_X)
flak -= 2;
if (pl_flags & P_H)
flak -= 1;
if (flak > 8)
mult = flaktable[FLAK_MAX];