From 00d3e1975fc4994bbd4532a43860cba86409a241 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 22 Jan 2012 00:18:13 +0000 Subject: [PATCH] - Play "misc/secret" as a UI sound. SVN r3340 (trunk) --- src/p_spec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 5a863eb6b..5b9c40b6e 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -603,7 +603,7 @@ void P_GiveSecret(AActor *actor, bool printmessage, bool playsound) if (actor->CheckLocalView (consoleplayer)) { if (printmessage) C_MidPrint (SmallFont, secretmessage); - if (playsound) S_Sound (CHAN_AUTO, "misc/secret", 1, ATTN_NORM); + if (playsound) S_Sound (CHAN_AUTO | CHAN_UI, "misc/secret", 1, ATTN_NORM); } } level.found_secrets++;