]> granicus.if.org Git - nethack/commitdiff
add a few missing Soundeffects to apply.c
authornhmall <nhmall@nethack.org>
Tue, 24 Jan 2023 18:36:33 +0000 (13:36 -0500)
committernhmall <nhmall@nethack.org>
Tue, 24 Jan 2023 18:36:33 +0000 (13:36 -0500)
src/apply.c

index 210fad4bb8b9be4fe7bf730d2037369e0a2203dd..b6816eac33501a3affc29d42c53a1490d9a13df0 100644 (file)
@@ -469,6 +469,7 @@ use_whistle(struct obj *obj)
             You_feel("rushing air tickle your %s.", body_part(NOSE));
         else
             You(whistle_str, obj->cursed ? "shrill" : "high");
+        Soundeffect(se_shrill_whistle, 50);
         wake_nearby();
         if (obj->cursed)
             vault_summon_gd();
@@ -490,7 +491,7 @@ use_magic_whistle(struct obj *obj)
             Hallucination ? "normal"
             : (Underwater && !Deaf) ? "strange, high-pitched"
               : "strange");
-
+        Soundeffect(se_shrill_whistle, 80);
         magic_whistled(obj);
     }
 }