(upd_ship): Capability fish didn't work together with capability oil.

This commit is contained in:
Markus Armbruster 2004-02-15 19:30:03 +00:00
parent 42a43e1461
commit 27efd2c266

View file

@ -184,7 +184,7 @@ upd_ship(register struct shpstr *sp, int shipno, register int etus,
*resource -= roundavg(oil_gained *
product->p_nrdep / 100.0);
}
} else
}
if (((mp->m_flags & M_FOOD) && (sectp->sct_type == SCT_WATER))
&& !player->simulation) {
sectp = getsectp(sp->shp_x, sp->shp_y);