Skip to content

Commit

Permalink
remove useless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jeenyuhs authored and Hazuki-san committed Oct 8, 2023
1 parent 4bdd15c commit 7b6f9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osu/pp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ impl OsuPpInner {
// let mut acc_value = 1.52163_f64.powf(self.attrs.ar) * better_acc_percentage.powi(24);

let mut acc_value =
1.492_f64.powf(self.attrs.od) * (better_acc_percentage as f64).powi(28).sqrt() * 2.5;
1.492_f64.powf(self.attrs.od) * (better_acc_percentage).powi(28).sqrt() * 2.5;
// * Bonus for many hitcircles - it's harder to keep good accuracy up for longer.

if amount_hit_objects_with_acc > 1000 {
Expand Down

0 comments on commit 7b6f9f2

Please sign in to comment.