mirror of https://github.com/ppy/osu
Remove redundant parentheses.
This commit is contained in:
parent
9b1363184b
commit
51f7904c13
|
@ -33,11 +33,11 @@ public FastRandom()
|
|||
/// <returns>The random value.</returns>
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
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 @@ public class ManiaHitRenderer : HitRenderer<ManiaHitObject, ManiaJudgement>
|
|||
public ManiaHitRenderer(WorkingBeatmap beatmap)
|
||||
: base(beatmap)
|
||||
{
|
||||
FastRandom fr = new FastRandom(1337);
|
||||
while (true)
|
||||
{
|
||||
int value = fr.Next();
|
||||
}
|
||||
}
|
||||
|
||||
protected override Playfield<ManiaHitObject, ManiaJudgement> CreatePlayfield()
|
||||
|
|
Loading…
Reference in New Issue