aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalanche.cpp
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-23 00:21:41 +0100
committerAdrian Frühwirth2018-03-23 12:48:11 +0000
commit39fd49e131a962ae9c80b61b9beb40ce6c54eb50 (patch)
treece59f01d83d11d170440bbfaf50307b70a5af8cc /engines/avalanche/avalanche.cpp
parent9586ff04882af66db0236daf15fc3ac8039267f6 (diff)
downloadscummvm-rg350-39fd49e131a962ae9c80b61b9beb40ce6c54eb50.tar.gz
scummvm-rg350-39fd49e131a962ae9c80b61b9beb40ce6c54eb50.tar.bz2
scummvm-rg350-39fd49e131a962ae9c80b61b9beb40ce6c54eb50.zip
AVALANCHE: Remove unnecessary call to setSeed()
There is no need to initialize Common::RandomSource's seed with _system->getTimeAndDate(time) as its constructor already initializes it with g_system->getMillis().
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
-rw-r--r--engines/avalanche/avalanche.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index 8726ef784a..29fb082da0 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -39,9 +39,6 @@ AvalancheEngine::AvalancheEngine(OSystem *syst, const AvalancheGameDescription *
_console = new AvalancheConsole(this);
_rnd = new Common::RandomSource("avalanche");
- TimeDate time;
- _system->getTimeAndDate(time);
- _rnd->setSeed(time.tm_sec + time.tm_min + time.tm_hour);
_showDebugLines = false;
_clock = nullptr;