Merge branch 'DaforLynx/water-splashes-tweak' into 'master'

Fix water splash volume/new sounds

See merge request veloren/veloren!4649
This commit is contained in:
DaforLynx
2024-11-14 20:24:27 +00:00
4 changed files with 7 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -913,7 +913,7 @@ impl SfxMgr {
(SfxEvent::SplashBig, (energy / 100.0).sqrt() + 0.5)
};
let sfx_trigger_item = triggers.get_key_value(&sfx);
audio.emit_sfx(sfx_trigger_item, *pos, Some(volume.max(10.0)));
audio.emit_sfx(sfx_trigger_item, *pos, Some(volume.min(2.0)));
}
},
Outcome::ExpChange { .. } | Outcome::ComboChange { .. } => {},