diff options
author | Leandro Motta Barros <lmb@stackedboxes.org> | 2017-03-01 14:33:45 -0300 |
---|---|---|
committer | Leandro Motta Barros <lmb@stackedboxes.org> | 2017-03-01 14:33:45 -0300 |
commit | 0e5863c86ae3513d09c17ff23e465156d65b47d1 (patch) | |
tree | a57acc9168f7a92bf10fbfc0691d2c27d7a6c453 | |
parent | a1cbe8e22bec516b138436d06282046466e89c79 (diff) | |
download | redot-engine-0e5863c86ae3513d09c17ff23e465156d65b47d1.tar.gz |
Fix RANDOM_MAX, which is 2^32-1 with PCG32.
-rw-r--r-- | core/math/math_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index da7d534a4e..ae461eda2e 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -50,7 +50,7 @@ public: Math() {} // useless to instance enum { - RANDOM_MAX=2147483647L + RANDOM_MAX=4294967295L }; |