diff options
author | Ferenc Arn <tagcup@yahoo.com> | 2017-04-17 12:50:31 -0500 |
---|---|---|
committer | Ferenc Arn <tagcup@yahoo.com> | 2017-04-17 14:05:02 -0500 |
commit | ceb699f5ec50a69c8c9c37f4ed146cc0dd492f87 (patch) | |
tree | 79cf61d09536eea6a8f023f373b297ebee5817be /scene/2d | |
parent | 6f9ec3acfc45ae4f3649777a41bd3685a81fb114 (diff) |
Fix PRNG randomization.
PCG32 doesn't like small seeds, which leads to zero random values (prior to #7532, zero values were handled as special cases).
Use a large default seed, and also add a shift in Math::randomize.
Fixes #8423.
Diffstat (limited to 'scene/2d')
0 files changed, 0 insertions, 0 deletions