aboutsummaryrefslogtreecommitdiff
path: root/common/random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/random.cpp')
-rw-r--r--common/random.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/random.cpp b/common/random.cpp
index be69d39d2d..9ecd5d0892 100644
--- a/common/random.cpp
+++ b/common/random.cpp
@@ -38,14 +38,6 @@ RandomSource::RandomSource(const String &name) {
g_eventRec.registerRandomSource(*this, name);
}
-RandomSource::RandomSource() {
- // Use system time as RNG seed. Normally not a good idea, if you are using
- // a RNG for security purposes, but good enough for our purposes.
- assert(g_system);
- uint32 seed = g_system->getMillis();
- setSeed(seed);
-}
-
RandomSource::~RandomSource() {
// TODO: Unregister with g_eventRec
}