diff --git a/osu.Game.Rulesets.Mania/MathUtils/FastRandom.cs b/osu.Game.Rulesets.Mania/MathUtils/FastRandom.cs
index d090fbb0a0..381e24c84c 100644
--- a/osu.Game.Rulesets.Mania/MathUtils/FastRandom.cs
+++ b/osu.Game.Rulesets.Mania/MathUtils/FastRandom.cs
@@ -33,11 +33,11 @@ namespace osu.Game.Rulesets.Mania.MathUtils
/// The random value.
public uint NextUInt()
{
- uint t = (_x ^ (_x << 11));
+ uint t = _x ^ _x << 11;
_x = _y;
_y = _z;
_z = _w;
- return (_w = (_w ^ (_w >> 19)) ^ (t ^ (t >> 8)));
+ return _w = _w ^ _w >> 19 ^ t ^ t >> 8;
}
///
diff --git a/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs b/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs
index 986aefb2bd..da4a693dd8 100644
--- a/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs
+++ b/osu.Game.Rulesets.Mania/UI/ManiaHitRenderer.cs
@@ -17,6 +17,7 @@ using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
+using osu.Game.Rulesets.Mania.MathUtils;
namespace osu.Game.Rulesets.Mania.UI
{
@@ -27,6 +28,11 @@ namespace osu.Game.Rulesets.Mania.UI
public ManiaHitRenderer(WorkingBeatmap beatmap)
: base(beatmap)
{
+ FastRandom fr = new FastRandom(1337);
+ while (true)
+ {
+ int value = fr.Next();
+ }
}
protected override Playfield CreatePlayfield()