Fix scuttle_tradeship() to require 2% efficiency

This commit is contained in:
Markus Armbruster 2008-09-13 16:47:10 -04:00
parent 221324cc10
commit 96796dc756

View file

@ -165,7 +165,7 @@ scuttle_tradeship(struct shpstr *sp, int interactive)
mp = &mchr[(int)sp->shp_type];
getsect(sp->shp_x, sp->shp_y, &sect);
if (sect.sct_own && sect.sct_type == SCT_HARBR) {
if (sect.sct_own && sect.sct_type == SCT_HARBR && sect.sct_effic >= 2) {
dist = mapdist(sp->shp_x, sp->shp_y,
sp->shp_orig_x, sp->shp_orig_y);
/* Don't disclose distance to to pirates */