Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
f809463ea4
1 file changed
+1
-1
@@ -9,7 +9,7 @@ namespace CalamityMod.Sounds.Item
|
||||
public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan, SoundType type)
|
||||
{
|
||||
soundInstance = sound.CreateInstance();
|
||||
soundInstance.Volume = volume * 1.85f;
|
||||
soundInstance.Volume = volume * 1.1f;
|
||||
soundInstance.Pan = pan;
|
||||
soundInstance.Pitch = (float)Main.rand.Next(-25, 26) * 0.01f;
|
||||
Main.PlaySoundInstance(soundInstance);
|
||||
|
||||
Reference in new issue
Block a user