1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 05:32:54 +08:00

Use normal movement for bananas when possible

This commit is contained in:
HoLLy 2019-06-15 19:21:00 +02:00
parent f97cab5815
commit 4d690a2b14

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
@ -60,9 +60,8 @@ namespace osu.Game.Rulesets.Catch.Replays
return;
}
if (h is Banana || impossibleJump)
if (impossibleJump)
{
// auto bananas unrealistically warp to catch 100% combo.
Replay.Frames.Add(new CatchReplayFrame(h.StartTime, h.X));
}
else if (h.HyperDash)