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

Remove redundant parentheses.

This commit is contained in:
smoogipooo 2017-05-17 13:04:34 +09:00
parent 9b1363184b
commit 51f7904c13
2 changed files with 8 additions and 2 deletions

View File

@ -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>

View File

@ -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()