mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:03:21 +08:00
Remove redundant parentheses.
This commit is contained in:
parent
9b1363184b
commit
51f7904c13
@ -33,11 +33,11 @@ namespace osu.Game.Rulesets.Mania.MathUtils
|
||||
/// <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.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<ManiaHitObject, ManiaJudgement> CreatePlayfield()
|
||||
|
Loading…
Reference in New Issue
Block a user