From 1923f0d3027ce92e4d42f0436d90beea0c0dee3e Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Tue, 27 Oct 2020 01:52:15 +0200 Subject: [PATCH] Make `randbase` member protected in `RandomNumberGenerator` Allows to extend `RandomNumberGenerator` via C++ modules. --- core/math/random_number_generator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/math/random_number_generator.h b/core/math/random_number_generator.h index 920308e5979..416e52ea87c 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: