mirror of https://github.com/ppy/osu
Remove unneeded checks against h.StartTime
This commit is contained in:
parent
4d690a2b14
commit
c723ec5a9d
|
@ -46,8 +46,8 @@ void moveToNext(CatchHitObject h)
|
||||||
//So we can either make it there without a dash or not.
|
//So we can either make it there without a dash or not.
|
||||||
double speedRequired = positionChange == 0 ? 0 : positionChange / timeAvailable;
|
double speedRequired = positionChange == 0 ? 0 : positionChange / timeAvailable;
|
||||||
|
|
||||||
bool dashRequired = speedRequired > movement_speed && h.StartTime != 0;
|
bool dashRequired = speedRequired > movement_speed;
|
||||||
bool impossibleJump = speedRequired > movement_speed * 2 && h.StartTime != 0;
|
bool impossibleJump = speedRequired > movement_speed * 2;
|
||||||
|
|
||||||
// todo: get correct catcher size, based on difficulty CS.
|
// todo: get correct catcher size, based on difficulty CS.
|
||||||
const float catcher_width_half = CatcherArea.CATCHER_SIZE / CatchPlayfield.BASE_WIDTH * 0.3f * 0.5f;
|
const float catcher_width_half = CatcherArea.CATCHER_SIZE / CatchPlayfield.BASE_WIDTH * 0.3f * 0.5f;
|
||||||
|
|
Loading…
Reference in New Issue