FOLGEN SCHIFF ist kein langer Befehl
This commit is contained in:
Enno Rehling 2004-10-19 18:16:35 +00:00
parent c45e89de45
commit 068efb08f3
1 changed files with 12 additions and 10 deletions

View File

@ -744,13 +744,13 @@ caught_target(region * r, unit * u)
unit * target = (unit*)a->data.v;
if (!present(r, target)) {
add_message(&u->faction->msgs, new_message(u->faction,
"followfail%u:unit%u:follower", target, u));
ADDMSG(&u->faction->msgs, msg_message("followfail", "unit follower",
target, u));
} else if (!alliedunit(target, u->faction, HELP_ALL)
&& cansee(target->faction, r, u, 0))
{
add_message(&target->faction->msgs, new_message(target->faction,
"followdetect%u:unit%u:follower", target, u));
ADDMSG(&target->faction->msgs, msg_message("followdetect",
"unit follower", target, u));
}
}
}
@ -2030,7 +2030,9 @@ hunt(unit *u)
char command[256];
direction_t dir;
if(!u->ship) {
if (fval(u, UFL_LONGACTION)) {
return 0;
} else if (u->ship==NULL) {
cmistake(u, u->thisorder, 144, MSG_MOVE);
return 0;
} else if(!fval(u, UFL_OWNER)) {