- status flee does not immediately remove the guard status,  but delayed.
This commit is contained in:
Enno Rehling 2009-07-10 19:36:26 +00:00
parent bfcba5e94e
commit 9124a86e0e
2 changed files with 47 additions and 50 deletions

View file

@ -2246,9 +2246,6 @@ setstatus(struct unit * u, int status)
assert(status>=ST_AGGRO && status<=ST_FLEE);
if (u->status!=status) {
u->status = (status_t)status;
if (u->status==ST_FLEE) {
setguard(u, GUARD_NONE);
}
}
}