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