From: nhmall Date: Fri, 27 Jan 2023 15:05:16 +0000 (-0500) Subject: add comment above two sound delivery macros X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8ddb61c60c19583c643c626abde75a5d0dbca41;p=nethack add comment above two sound delivery macros --- diff --git a/include/sndprocs.h b/include/sndprocs.h index 9abde73a1..1e5cf3cf1 100755 --- a/include/sndprocs.h +++ b/include/sndprocs.h @@ -425,6 +425,7 @@ SoundAchievement(0, sa2_xpleveldown, level); (*soundprocs.sound_soundeffect)(emptystr, (seid), (vol)); \ } while(0) +/* Player's perspective, not the hero's; no Deaf suppression */ #define SoundeffectEvenIfDeaf(seid, vol) \ do { \ if (!soundprocs.sound_soundeffect \ @@ -441,6 +442,7 @@ SoundAchievement(0, sa2_xpleveldown, level); /* void (*sound_achievement)(schar, schar, int32_t); */ +/* Player's perspective, not the hero's; no Deaf suppression */ #define SoundAchievement(arg1, arg2, avals) \ do { \ if (soundprocs.sound_achievement \