From 7d7a3bab0e86251710f0825c602719805f742f9b Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Thu, 1 Mar 2018 14:43:45 +0900 Subject: [PATCH] Fix catch legacy replay positions not being relative to playfield size --- osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs b/osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs index 3b2d0d58b3..b444b0d7ba 100644 --- a/osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs +++ b/osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs @@ -2,6 +2,7 @@ // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps; +using osu.Game.Rulesets.Catch.UI; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Replays.Legacy; using osu.Game.Rulesets.Replays.Types; @@ -26,8 +27,7 @@ namespace osu.Game.Rulesets.Catch.Replays public void ConvertFrom(LegacyReplayFrame legacyFrame, Beatmap beatmap) { - // Todo: This needs to be re-scaled - Position = legacyFrame.Position.X; + Position = legacyFrame.Position.X / CatchPlayfield.BASE_WIDTH; Dashing = legacyFrame.ButtonState == ReplayButtonState.Left1; } }