Allow mods to control how looped sounds are used.
This commit is contained in:
committed by
Matthias Mailänder
parent
68fddf818c
commit
3f0c3a8b9c
@@ -350,6 +350,11 @@ namespace OpenRA.Platforms.Default
|
||||
((OpenAlSound)sound)?.SetLooping(looping);
|
||||
}
|
||||
|
||||
public void SetSoundPosition(ISound sound, WPos position)
|
||||
{
|
||||
((OpenAlSound)sound)?.SetPosition(position);
|
||||
}
|
||||
|
||||
~OpenAlSoundEngine()
|
||||
{
|
||||
Dispose(false);
|
||||
|
||||
Reference in New Issue
Block a user