]> granicus.if.org Git - nethack/commitdiff
Unhide monster when rolling boulder explodes
authorPasi Kallinen <paxed@alt.org>
Wed, 16 Mar 2022 14:43:42 +0000 (16:43 +0200)
committerPasi Kallinen <paxed@alt.org>
Wed, 16 Mar 2022 14:43:42 +0000 (16:43 +0200)
src/explode.c

index 6effc7523a6c496de8ad74c5adc36cc22d294797..c93fc5818b5128c2e3ae8e6e768cd0ed03f68405 100644 (file)
@@ -842,6 +842,7 @@ scatter(int sx, int sy,  /* location of objects to scatter */
         (void) hideunder(&g.youmonst);
     if (((mtmp = m_at(sx, sy)) != 0) && mtmp->mtrapped)
         mtmp->mtrapped = 0;
+    maybe_unhide_at(sx, sy);
     if (lostgoods) /* implies shop_origin and therefore shkp valid */
         credit_report(shkp, 1, FALSE);
     return total;