/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
struct nstr_item ni;
struct mchrstr *mp;
struct shpstr ship;
- int allied;
first = 1;
ships = 0;
while (nxtitem(&ni, (s_char *)&ship)) {
if (ship.shp_effic < SHIP_MINEFF || ship.shp_own == 0)
continue;
- allied = (getrel(getnatp(ship.shp_own), own) == ALLIED);
- if ((ship.shp_own != own) & !allied)
+ if (ship.shp_own != own
+ && getrel(getnatp(ship.shp_own), own) != ALLIED)
+ continue;
+ if (ship.shp_effic < SHP_AIROPS_EFF)
continue;
mp = &mchr[(int)ship.shp_type];
if (wantflags) {