diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/CoreModules/World/Sound/SoundModule.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Sound/SoundModule.cs')
-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, |