forked from github/server
FAHRE + hunger etwas früher abfangen
This commit is contained in:
parent
b283d31116
commit
9613d66012
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue