Browse Source

Merge pull request #7917 from lmbarros/master

Fix RANDOM_MAX, which is 2^32-1 with PCG32.

[ci skip]
Rémi Verschelde 8 years ago
parent
commit
68fe36ed26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/math/math_funcs.h

+ 1 - 1
core/math/math_funcs.h

@@ -50,7 +50,7 @@ public:
 	Math() {} // useless to instance
 	Math() {} // useless to instance
 
 
 	enum {
 	enum {
-		RANDOM_MAX=2147483647L
+		RANDOM_MAX=4294967295L
 	};
 	};