mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Remove unnecessary bounds check.
This commit is contained in:
parent
809828f0ba
commit
4118be6388
@ -89,9 +89,6 @@ namespace osu.Game.Modes
|
|||||||
if (!hasFrames)
|
if (!hasFrames)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
if (AtLastFrame)
|
|
||||||
return CurrentFrame.Position;
|
|
||||||
|
|
||||||
return Interpolation.ValueAt(currentTime, CurrentFrame.Position, NextFrame.Position, CurrentFrame.Time, NextFrame.Time);
|
return Interpolation.ValueAt(currentTime, CurrentFrame.Position, NextFrame.Position, CurrentFrame.Time, NextFrame.Time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user