diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Sound')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Sound/SoundModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs index 45f3ccf..2b7db18 100644 --- a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs +++ b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs | |||
@@ -279,7 +279,7 @@ namespace OpenSim.Region.CoreModules.World.Sound | |||
279 | 279 | ||
280 | m_host.Sound = soundID; | 280 | m_host.Sound = soundID; |
281 | m_host.SoundGain = volume; | 281 | m_host.SoundGain = volume; |
282 | m_host.SoundFlags = iflags; | 282 | m_host.SoundFlags = iflags; |
283 | m_host.SoundRadius = radius; | 283 | m_host.SoundRadius = radius; |
284 | 284 | ||
285 | m_host.ScheduleFullUpdate(); | 285 | m_host.ScheduleFullUpdate(); |
@@ -309,14 +309,14 @@ namespace OpenSim.Region.CoreModules.World.Sound | |||
309 | else | 309 | else |
310 | { | 310 | { |
311 | byte bflags = 0; | 311 | byte bflags = 0; |
312 | 312 | ||
313 | if (isMaster) | 313 | if (isMaster) |
314 | bflags |= (byte)SoundFlags.SYNC_MASTER; | 314 | bflags |= (byte)SoundFlags.SYNC_MASTER; |
315 | // TODO check viewer seems to accept both | 315 | // TODO check viewer seems to accept both |
316 | if (useMaster) | 316 | if (useMaster) |
317 | bflags |= (byte)SoundFlags.SYNC_SLAVE; | 317 | bflags |= (byte)SoundFlags.SYNC_SLAVE; |
318 | PlayAttachedSound(soundID, part.OwnerID, part.UUID, volume, position, bflags, radius); | 318 | PlayAttachedSound(soundID, part.OwnerID, part.UUID, volume, position, bflags, radius); |
319 | } | 319 | } |
320 | } | 320 | } |
321 | 321 | ||
322 | public void TriggerSoundLimited(UUID objectID, UUID sound, | 322 | public void TriggerSoundLimited(UUID objectID, UUID sound, |