diff --git a/src/laws.h b/src/laws.h index 0a677f384..bc9afc106 100755 --- a/src/laws.h +++ b/src/laws.h @@ -94,7 +94,6 @@ extern "C" { int reserve_cmd(struct unit *u, struct order *ord); int reserve_self(struct unit *u, struct order *ord); int claim_cmd(struct unit *u, struct order *ord); - int follow_cmd(struct unit *u, struct order *ord); void nmr_warnings(void); diff --git a/src/move.c b/src/move.c index 459776915..37bd8eb21 100644 --- a/src/move.c +++ b/src/move.c @@ -2477,7 +2477,7 @@ static direction_t hunted_dir(attrib * at, int id) return d; } -static int hunt(unit * u, order * ord) +static int follow_ship(unit * u, order * ord) { region *rc = u->region; size_t bytes; @@ -2615,7 +2615,7 @@ static void move_hunters(void) break; } - if (!fval(u, UFL_LONGACTION) && !LongHunger(u) && hunt(u, ord)) { + if (!fval(u, UFL_LONGACTION) && !LongHunger(u) && follow_ship(u, ord)) { up = &r->units; break; }