aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2017-03-01 18:59:24 +0100
committerGitHub2017-03-01 18:59:24 +0100
commit68fe36ed26c82d58dd8dffb3c64fd8d3de9569ca (patch)
treea57acc9168f7a92bf10fbfc0691d2c27d7a6c453
parenta1cbe8e22bec516b138436d06282046466e89c79 (diff)
parent0e5863c86ae3513d09c17ff23e465156d65b47d1 (diff)
downloadgodot-68fe36ed26c82d58dd8dffb3c64fd8d3de9569ca.tar.gz
godot-68fe36ed26c82d58dd8dffb3c64fd8d3de9569ca.tar.zst
godot-68fe36ed26c82d58dd8dffb3c64fd8d3de9569ca.zip
Merge pull request #7917 from lmbarros/master
Fix RANDOM_MAX, which is 2^32-1 with PCG32. [ci skip]
Diffstat (limited to '')
-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 da7d534a4..ae461eda2 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
};