From 4118be6388f6d040e3edb3071c5af42ff0fcf192 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 6 Mar 2017 14:19:22 +0900 Subject: [PATCH] Remove unnecessary bounds check. --- osu.Game/Modes/LegacyReplay.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/osu.Game/Modes/LegacyReplay.cs b/osu.Game/Modes/LegacyReplay.cs index c558280cb0..cd271f181c 100644 --- a/osu.Game/Modes/LegacyReplay.cs +++ b/osu.Game/Modes/LegacyReplay.cs @@ -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); } }