From 494cda300802690624f75c725b13584eb564a275 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Wed, 7 Feb 2007 23:38:22 +0000 Subject: [PATCH] Even stolen code should conform to our style. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4541 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/Random.as | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/as/com/threerings/util/Random.as b/src/as/com/threerings/util/Random.as index 9aab8442b..ba412c42e 100644 --- a/src/as/com/threerings/util/Random.as +++ b/src/as/com/threerings/util/Random.as @@ -110,16 +110,18 @@ public class Random return (mh << 16) | (ml & 0xffff); } - protected const N :int = 624; - protected const M :int = 397; - protected const UPPER_MASK :uint = 0x80000000; - protected const LOWER_MASK :uint = 0x7fffffff; - protected const MATRIX_A :uint = 0x9908b0df; protected var x :Array; protected var p :int; protected var q :int; protected var r :int; protected static var seedUniquifier :uint = 2812526361; + + protected static const N :int = 624; + protected static const M :int = 397; + protected static const UPPER_MASK :uint = 0x80000000; + protected static const LOWER_MASK :uint = 0x7fffffff; + protected static const MATRIX_A :uint = 0x9908b0df; + } }