Remove migrating monster from polearm targeting

This commit is contained in:
Pasi Kallinen
2015-03-28 10:55:41 +02:00
parent c6faa08b8f
commit c7d92a47e1
+1
View File
@@ -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 */