forked from github/server
warning
This commit is contained in:
parent
c61127ab6f
commit
cb4037dd56
1 changed files with 1 additions and 1 deletions
|
@ -2432,7 +2432,7 @@ setstatus(struct unit * u, int status)
|
|||
{
|
||||
assert(status>=ST_AGGRO && status<=ST_FLEE);
|
||||
if (u->status!=status) {
|
||||
u->status = status;
|
||||
u->status = (status_t)status;
|
||||
#ifdef SIMPLE_ESCAPE
|
||||
if (u->status==ST_FLEE) {
|
||||
setguard(u, GUARD_NONE);
|
||||
|
|
Loading…
Reference in a new issue