aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h4
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].