1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

-Fixes from source code analyzizer, closes #1768

This commit is contained in:
Juan Linietsky
2015-05-01 10:44:08 -03:00
parent af42e244e0
commit 4804462ee0
17 changed files with 31 additions and 31 deletions

View File

@@ -48,8 +48,8 @@ uint32_t Math::rand_from_seed(uint32_t *seed) {
s = 0x12345987;
k = s / 127773;
s = 16807 * (s - k * 127773) - 2836 * k;
if (s < 0)
s += 2147483647;
// if (s < 0)
// s += 2147483647;
(*seed) = s;
return (s & Math::RANDOM_MAX);
#else