stripping whitespace from ISoundModule, formatting SoundModuleNonShared.cs
parent
20be6a4b48
commit
1d47bcb6b6
|
@ -133,7 +133,8 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||||
// Scale by distance
|
// Scale by distance
|
||||||
double thisSpGain = gain * ((radius - dis) / radius);
|
double thisSpGain = gain * ((radius - dis) / radius);
|
||||||
|
|
||||||
sp.ControllingClient.SendPlayAttachedSound(soundID, objectID, ownerID, (float)thisSpGain, flags);
|
sp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
|
||||||
|
ownerID, (float)thisSpGain, flags);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -171,8 +172,9 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||||
// Scale by distance
|
// Scale by distance
|
||||||
double thisSpGain = gain * ((radius - dis) / radius);
|
double thisSpGain = gain * ((radius - dis) / radius);
|
||||||
|
|
||||||
sp.ControllingClient.SendTriggeredSound(
|
sp.ControllingClient.SendTriggeredSound(soundId, ownerID,
|
||||||
soundId, ownerID, objectID, parentID, handle, position, (float)thisSpGain);
|
objectID, parentID, handle, position,
|
||||||
|
(float)thisSpGain);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue