You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Revert "Properly setup seed in RNG"
This reverts commit 1dd72dca45.
As pointed out in #27171, it would break compatibility with 3.1.0.
This commit is contained in:
@@ -34,7 +34,8 @@
|
||||
|
||||
RandomPCG::RandomPCG(uint64_t p_seed, uint64_t p_inc) :
|
||||
pcg(),
|
||||
current_inc(p_inc) {
|
||||
current_seed(DEFAULT_SEED) {
|
||||
pcg.inc = p_inc;
|
||||
seed(p_seed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user