From b3020eb06d3a0b8e5e76e20cb3f8685dfae24fd0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 12 Jul 2019 23:19:12 +0200 Subject: [PATCH] added missing CAP_SDLAUDIO guard --- sound.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound.cpp b/sound.cpp index c9ea93e4..46fe76d0 100644 --- a/sound.cpp +++ b/sound.cpp @@ -268,7 +268,9 @@ int read_sound_args() { return 0; } +#if CAP_SDLAUDIO auto ah_sound = addHook(hooks_args, 0, read_sound_args) + addHook(hooks_clear_cache, 0, reuse_music_memory); +#endif #endif