A ship just read from the ship file exists unless its owner is zero.
Check that instead of whether efficiency is below minimum.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
while (nxtitem(&ni, &land)) {
if (land.lnd_own != player->cnum)
continue;
- if (land.lnd_effic < LAND_MINEFF)
+ if (!land.lnd_own)
continue;
if (land_answer[(int)land.lnd_army] == 'N')
continue;
/* We should do more, like make sure it's really
a carrier, etc. but for now just make sure it's
not sunk. */
- if (ship.shp_effic < SHIP_MINEFF) {
+ if (!ship.shp_own) {
mpr(pp->pln_own,
"Ship #%d has been sunk, plane #%d has nowhere to land, and\n"
"splashes into the sea.\n",