]> granicus.if.org Git - nethack/commitdiff
paste error
authornhmall <nhmall@nethack.org>
Fri, 27 Jan 2023 06:29:09 +0000 (01:29 -0500)
committernhmall <nhmall@nethack.org>
Fri, 27 Jan 2023 06:29:09 +0000 (01:29 -0500)
include/sndprocs.h

index 691fc6de18e4b5e704db1a6a9f5f410aa35e5b7c..9abde73a10fd6f47a35aa731e0cf95e7ea96d055 100755 (executable)
@@ -450,12 +450,6 @@ SoundAchievement(0, sa2_xpleveldown, level);
 
 /*  void (*sound_achievement)(schar, schar, int32_t); */
 
-#define SoundAchievement(arg1, arg2, aflags) \
-    do {                                                                  \
-        if (soundprocs.sound_achievement                                  \
-            && ((soundprocs.sndcap & SNDCAP_ACHIEVEMENTS) != 0))          \
-            (*soundprocs.sound_achievement)((arg1), (arg2), (aflags));    \
-    } while(0)
 #else
 #ifdef SND_LIB_INTEGRATED
 #undef  SND_LIB_INTEGRATED