Fix scuttle_tradeship() to require 2% efficiency
This commit is contained in:
parent
221324cc10
commit
96796dc756
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ scuttle_tradeship(struct shpstr *sp, int interactive)
|
||||||
|
|
||||||
mp = &mchr[(int)sp->shp_type];
|
mp = &mchr[(int)sp->shp_type];
|
||||||
getsect(sp->shp_x, sp->shp_y, §);
|
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,
|
dist = mapdist(sp->shp_x, sp->shp_y,
|
||||||
sp->shp_orig_x, sp->shp_orig_y);
|
sp->shp_orig_x, sp->shp_orig_y);
|
||||||
/* Don't disclose distance to to pirates */
|
/* Don't disclose distance to to pirates */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue