From 96796dc756bb6c1bca0828170a4ebdbaef066327 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 13 Sep 2008 16:47:10 -0400 Subject: [PATCH] Fix scuttle_tradeship() to require 2% efficiency --- src/lib/commands/scut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/scut.c b/src/lib/commands/scut.c index 8d542832..deb04d5e 100644 --- a/src/lib/commands/scut.c +++ b/src/lib/commands/scut.c @@ -165,7 +165,7 @@ scuttle_tradeship(struct shpstr *sp, int interactive) mp = &mchr[(int)sp->shp_type]; getsect(sp->shp_x, sp->shp_y, §); - 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 */