FAHRE + hunger etwas früher abfangen

This commit is contained in:
Enno Rehling 2002-03-17 08:38:08 +00:00
parent b283d31116
commit 9613d66012
1 changed files with 2 additions and 2 deletions

View File

@ -2097,7 +2097,7 @@ movement(void)
break; break;
} }
if (!fval(u, FL_LONGACTION) && hunt(u)) { if (!fval(u, FL_LONGACTION) && !fval(u, FL_HUNGER) && hunt(u)) {
u2 = r->units; u2 = r->units;
break; break;
} }
@ -2154,7 +2154,7 @@ follow(void)
for (u=r->units;u;u=u->next) { for (u=r->units;u;u=u->next) {
attrib * a; attrib * a;
strlist * o; strlist * o;
if (fval(u, FL_LONGACTION)) continue; if (fval(u, FL_LONGACTION) || fval(u, FL_HUNGER) continue;
a = a_find(u->attribs, &at_follow); a = a_find(u->attribs, &at_follow);
for (o=u->orders;o;o=o->next) { for (o=u->orders;o;o=o->next) {
if (igetkeyword(o->s, u->faction->locale) == K_FOLLOW if (igetkeyword(o->s, u->faction->locale) == K_FOLLOW