aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorSignpostMarv2012-10-05 14:14:01 +0100
committerJustin Clark-Casey (justincc)2012-10-29 23:38:57 +0000
commit1d47bcb6b6838500fa9b80d441a8b87ceaf0e01c (patch)
tree012790f05e41d75db8a3176327899f064992d9be /OpenSim/Region/CoreModules
parentrefactoring thisSpGain in PlayAttachedSound as it was previously using two ty... (diff)
downloadopensim-SC_OLD-1d47bcb6b6838500fa9b80d441a8b87ceaf0e01c.zip
opensim-SC_OLD-1d47bcb6b6838500fa9b80d441a8b87ceaf0e01c.tar.gz
opensim-SC_OLD-1d47bcb6b6838500fa9b80d441a8b87ceaf0e01c.tar.bz2
opensim-SC_OLD-1d47bcb6b6838500fa9b80d441a8b87ceaf0e01c.tar.xz
stripping whitespace from ISoundModule, formatting SoundModuleNonShared.cs
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
index 14914b6..74f2874 100644
--- a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
+++ b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
@@ -133,7 +133,8 @@ namespace OpenSim.Region.CoreModules.World.Sound
133 // Scale by distance 133 // Scale by distance
134 double thisSpGain = gain * ((radius - dis) / radius); 134 double thisSpGain = gain * ((radius - dis) / radius);
135 135
136 sp.ControllingClient.SendPlayAttachedSound(soundID, objectID, ownerID, (float)thisSpGain, flags); 136 sp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
137 ownerID, (float)thisSpGain, flags);
137 }); 138 });
138 } 139 }
139 140
@@ -171,8 +172,9 @@ namespace OpenSim.Region.CoreModules.World.Sound
171 // Scale by distance 172 // Scale by distance
172 double thisSpGain = gain * ((radius - dis) / radius); 173 double thisSpGain = gain * ((radius - dis) / radius);
173 174
174 sp.ControllingClient.SendTriggeredSound( 175 sp.ControllingClient.SendTriggeredSound(soundId, ownerID,
175 soundId, ownerID, objectID, parentID, handle, position, (float)thisSpGain); 176 objectID, parentID, handle, position,
177 (float)thisSpGain);
176 }); 178 });
177 } 179 }
178 180