Skip to content

Commit

Permalink
ring ring ring ring ring ring ring ring bananaphone
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Apr 25, 2020
1 parent 4b5ba56 commit d0e66b2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -951,11 +951,9 @@ Calc::SetStreamMod(const vector<NoteInfo>& NoteInfo,
if (in >= the)
if (in <= 3.f * the)
if (the * 10000.f > 0.5f)
butt +=
pow(static_cast<float>(
static_cast<int>(in * 10000.f + 0.5f) %
static_cast<int>(10000.f * the + 0.5f)),
0.25f);
butt += sqrt(sqrt(static_cast<float>(
static_cast<int>(in * 10000.f + 0.5f) %
static_cast<int>(10000.f * the + 0.5f))));

if (!whatwhat.empty())
butt /= static_cast<float>(whatwhat.size());
Expand Down

0 comments on commit d0e66b2

Please sign in to comment.