Rename SwellSampleMapping -> DrumSampleMapping

This commit is contained in:
smoogipoo
2017-12-25 16:47:29 +09:00
parent 0fb620a8d3
commit 8bfdee586b
5 changed files with 47 additions and 41 deletions

View File

@ -15,6 +15,7 @@ using OpenTK.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Rulesets.Taiko.Judgements;
using osu.Framework.Audio;
using osu.Game.Rulesets.Taiko.Audio;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
@ -228,7 +229,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
// While the swell hasn't been fully judged, input is still blocked so it doesn't fall through to other hitobjects
// This causes the playfield to not play sounds, so they need to be handled locally
var mappingIndex = HitObject.ProgressionSamples.BinarySearch(new SwellSampleMapping { Time = Time.Current });
var mappingIndex = HitObject.ProgressionSamples.BinarySearch(new DrumSampleMapping { Time = Time.Current });
if (mappingIndex < 0)
mappingIndex = ~mappingIndex - 1;