diff --git a/src/move.c b/src/move.c index 4cc15c9bf..1502f6243 100644 --- a/src/move.c +++ b/src/move.c @@ -1837,10 +1837,7 @@ static void sail(unit * u, order * ord, region_list ** routep, bool drifting) reason = check_ship_allowed(sh, next_point); if (reason < 0) { /* for some reason or another, we aren't allowed in there.. */ - if (reason == SA_NO_INSECT) { - ADDMSG(&f->msgs, msg_message("detectforbidden", "unit region", u, sh->region)); - } - else if (check_leuchtturm(current_point, NULL)) { + if (check_leuchtturm(current_point, NULL)) { ADDMSG(&f->msgs, msg_message("sailnolandingstorm", "ship region", sh, next_point)); } else { diff --git a/src/move.h b/src/move.h index 535c76bb2..d3a5d1e0d 100644 --- a/src/move.h +++ b/src/move.h @@ -90,8 +90,7 @@ extern "C" { #define SA_HARBOUR 1 #define SA_COAST 0 -#define SA_NO_INSECT -1 -#define SA_NO_COAST -2 +#define SA_NO_COAST -1 int check_ship_allowed(struct ship *sh, const struct region * r); direction_t drift_target(struct ship *sh);