]> granicus.if.org Git - nethack/commitdiff
Clear mimic vision blocking after genocide
authorPasi Kallinen <paxed@alt.org>
Tue, 5 Jan 2016 23:53:44 +0000 (01:53 +0200)
committerPasi Kallinen <paxed@alt.org>
Tue, 5 Jan 2016 23:55:39 +0000 (01:55 +0200)
Fix via Dynahack by Tung Nguyen

src/mon.c

index 3c272cbc71c02b5e7e5abbdb53829b2da77f562f..08333c250b7b86b8060d68c1b25b17eff47dda07 100644 (file)
--- a/src/mon.c
+++ b/src/mon.c
@@ -1653,6 +1653,8 @@ struct permonst *mptr; /* reflects mtmp->data _prior_ to mtmp's death */
     remove_monster(mtmp->mx, mtmp->my);
     if (emits_light(mptr))
         del_light_source(LS_MONSTER, monst_to_any(mtmp));
+    if (mtmp->m_ap_type)
+        seemimic(mtmp);
     newsym(mtmp->mx, mtmp->my);
     unstuck(mtmp);
     fill_pit(mtmp->mx, mtmp->my);