- Play "misc/secret" as a UI sound.

SVN r3340 (trunk)
This commit is contained in:
Randy Heit 2012-01-22 00:18:13 +00:00
parent 2faf92858a
commit 00d3e1975f

View file

@ -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++;