Remove migrating monster from polearm targeting
This commit is contained in:
@@ -685,6 +685,7 @@ migrate_to_level(mtmp, tolev, xyloc, cc)
|
|||||||
mtmp->mux = new_lev.dnum;
|
mtmp->mux = new_lev.dnum;
|
||||||
mtmp->muy = new_lev.dlevel;
|
mtmp->muy = new_lev.dlevel;
|
||||||
mtmp->mx = mtmp->my = 0; /* this implies migration */
|
mtmp->mx = mtmp->my = 0; /* this implies migration */
|
||||||
|
if (mtmp == context.polearm.hitmon) context.polearm.hitmon = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* return quality of food; the lower the better */
|
/* return quality of food; the lower the better */
|
||||||
|
|||||||
Reference in New Issue
Block a user