Fixed dead monsters stuck after killed (#5263)

This commit is contained in:
Daegaladh
2022-05-20 13:27:26 +02:00
committed by GitHub
parent 667645c2e2
commit fa363b972d
3 changed files with 7 additions and 1 deletions

View File

@@ -1154,6 +1154,7 @@ int mob_spawn (struct mob_data *md)
md->state.aggressive = status_has_mode(&md->status,MD_ANGRY)?1:0;
md->state.skillstate = MSS_IDLE;
md->ud.state.blockedmove = false;
md->next_walktime = tick+rnd()%1000+MIN_RANDOMWALKTIME;
md->last_linktime = tick;
md->dmgtick = tick - 5000;