rename hunt to follow_ship, because why was it ever called anything else?

This commit is contained in:
Enno Rehling 2015-09-21 14:48:08 +02:00
parent 3de0426b86
commit f018016feb
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -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;
}