]> granicus.if.org Git - nethack/commitdiff
healer follow-up bit (trunk only)
authornethack.allison <nethack.allison>
Tue, 28 Oct 2003 12:49:11 +0000 (12:49 +0000)
committernethack.allison <nethack.allison>
Tue, 28 Oct 2003 12:49:11 +0000 (12:49 +0000)
There is a new Deaf attrib to consider in the trunk.

src/zap.c

index e1bcb8995c33f3e451565bc2c8e87da3df809be0..75197356003bca9b27b84d8b17e8536e669a766b 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -1565,7 +1565,7 @@ struct obj *obj, *otmp;
                        res = !!revive(obj);
                        if (res && corpsenm && Role_if(PM_HEALER)) {
                            boolean u_noticed = FALSE;
-                           if (Hallucination) {
+                           if (Hallucination && !Deaf) {
                                You_hear("the sound of a defibrillator.");
                                u_noticed = TRUE;
                            } else if (!Blind) {