summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeandro Motta Barros <lmb@stackedboxes.org>2017-03-01 14:33:45 -0300
committerLeandro Motta Barros <lmb@stackedboxes.org>2017-03-01 14:33:45 -0300
commit0e5863c86ae3513d09c17ff23e465156d65b47d1 (patch)
treea57acc9168f7a92bf10fbfc0691d2c27d7a6c453
parenta1cbe8e22bec516b138436d06282046466e89c79 (diff)
downloadredot-engine-0e5863c86ae3513d09c17ff23e465156d65b47d1.tar.gz
Fix RANDOM_MAX, which is 2^32-1 with PCG32.
-rw-r--r--core/math/math_funcs.h2
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
};