Remove unnecessary bounds check.

This commit is contained in:
Dean Herbert 2017-03-06 14:19:22 +09:00
parent 809828f0ba
commit 4118be6388
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -89,9 +89,6 @@ namespace osu.Game.Modes
if (!hasFrames)
return null;
if (AtLastFrame)
return CurrentFrame.Position;
return Interpolation.ValueAt(currentTime, CurrentFrame.Position, NextFrame.Position, CurrentFrame.Time, NextFrame.Time);
}
}