Added A_StopSounds(int chanmin, int chanmax).
- If both channels are 0, completely silences the actor. - Adapted A_StopAllSounds to call A_StopSounds(0,0);
This commit is contained in:
parent
55284d46bf
commit
4cf7c6351d
6 changed files with 21 additions and 10 deletions
|
|
@ -506,9 +506,9 @@ void S_StopSound (AActor *actor, int channel)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void S_StopAllActorSounds(AActor *actor)
|
||||
void S_StopActorSounds(AActor *actor, int chanmin, int chanmax)
|
||||
{
|
||||
soundEngine->StopAllActorSounds(SOURCE_Actor, actor);
|
||||
soundEngine->StopActorSounds(SOURCE_Actor, actor, chanmin, chanmax);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue