summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-27 00:57:49 +0100
committerGitHub <noreply@github.com>2020-10-27 00:57:49 +0100
commit0e3b011dee1ec9c44aa8a9315382bae521de7633 (patch)
treeb2c08e2f09c073d86b9437aca1701d0ced82c056
parent47e9fc22c722ab246fd96a4f7f8cda6ce1c7c8fb (diff)
parent1923f0d3027ce92e4d42f0436d90beea0c0dee3e (diff)
Merge pull request #43113 from Xrayez/rng-randbase-protected
Make `randbase` member protected in `RandomNumberGenerator`
-rw-r--r--core/math/random_number_generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/random_number_generator.h b/core/math/random_number_generator.h
index 920308e597..416e52ea87 100644
--- a/core/math/random_number_generator.h
+++ b/core/math/random_number_generator.h
@@ -37,9 +37,9 @@
class RandomNumberGenerator : public Reference {
GDCLASS(RandomNumberGenerator, Reference);
+protected:
RandomPCG randbase;
-protected:
static void _bind_methods();
public: