You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Properly setup seed in RNG
This commit is contained in:
@@ -34,8 +34,7 @@
|
||||
|
||||
RandomPCG::RandomPCG(uint64_t p_seed, uint64_t p_inc) :
|
||||
pcg(),
|
||||
current_seed(DEFAULT_SEED) {
|
||||
pcg.inc = p_inc;
|
||||
current_inc(p_inc) {
|
||||
seed(p_seed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user