diff options
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 6d1814280b..f8f166e29e 100644 --- a/common/util.h +++ b/common/util.h @@ -72,6 +72,10 @@ private: public: RandomSource(); void setSeed(uint32 seed); + + uint32 getSeed() { + return _randSeed; + } /** * Generates a random unsigned integer in the interval [0, max]. |