]> granicus.if.org Git - nethack/commitdiff
expand info a wee bit on revive() panic
authornhmall <nhmall@nethack.org>
Sat, 21 May 2022 13:08:23 +0000 (09:08 -0400)
committernhmall <nhmall@nethack.org>
Sat, 21 May 2022 13:08:23 +0000 (09:08 -0400)
src/zap.c

index af8c766a4ad8259d0368837b4b06130064793070..0dd50174de8d7f6ebea343ed441a13fa55b15d44 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -1016,7 +1016,7 @@ revive(struct obj *corpse, boolean by_hero)
         }
         /*FALLTHRU*/
     default:
-        panic("revive");
+        panic("revive default case %d", (int) corpse->where);
     }
 
     return mtmp;