2
0
Эх сурвалжийг харах

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

Leandro Motta Barros 8 жил өмнө
parent
commit
0e5863c86a

+ 1 - 1
core/math/math_funcs.h

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