mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Play "misc/secret" as a UI sound.
SVN r3340 (trunk)
This commit is contained in:
parent
2faf92858a
commit
00d3e1975f
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue