fixed slider velocity for taiko converts

This commit is contained in:
MaxOhn
2022-07-05 22:46:16 +02:00
parent 48c798315a
commit af2530e836
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
## Upcoming
- Nothing as of now
- __Fixes:__
- Slider velocity is now adjusted properly for taiko converts
# v0.6.0 (2022-07-05)
+3 -1
View File
@@ -14,6 +14,8 @@ impl Beatmap {
let mut map = self.clone_without_hit_objects(true);
let mut curve_bufs = CurveBuffers::default();
map.slider_mult *= LEGACY_TAIKO_VELOCITY_MULTIPLIER as f64;
for (obj, sound) in self.hit_objects.iter().zip(self.sounds.iter()) {
match obj.kind {
HitObjectKind::Circle => {
@@ -30,7 +32,7 @@ impl Beatmap {
let curve = Curve::new(control_points, pixel_len, &mut curve_bufs);
let mut params = SliderParams::new(obj.start_time, repeats, &curve);
if self.should_convert_slider_to_taiko_hits(&mut params) {
if map.should_convert_slider_to_taiko_hits(&mut params) {
let mut i = 0;
let mut j = obj.start_time;