/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
struct plist *interceptor;
struct emp_qelem *att;
struct emp_qelem *in;
- int nplanes;
int more_att;
int more_int;
struct emp_qelem *att_next;
att_next = att->q_forw;
attacker = (struct plist *)att;
interceptor = (struct plist *)in;
- nplanes = attacker->plane.pln_effic;
- if (nplanes > interceptor->plane.pln_effic)
- nplanes = interceptor->plane.pln_effic;
ac_dog(attacker, interceptor);
in = in_next;
att = att_next;
struct emp_qelem *next;
char msg[255];
- plp = (struct plist *)list->q_forw;
-
for (qp = list->q_forw; qp != list; qp = next) {
next = qp->q_forw;
plp = (struct plist *)qp;
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];