mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
NANCY: Use RandomSource::generateNewSeed()
This commit is contained in:
1 parent
01de81a7d7
commit
c8dfd05140
1 file changed
+1
-1
@@ -59,7 +59,7 @@ NancyEngine::NancyEngine(OSystem *syst, const NancyGameDescription *gd) :
|
||||
g_nancy = this;
|
||||
|
||||
_randomSource = new Common::RandomSource("Nancy");
|
||||
_randomSource->setSeed(_randomSource->getSeed());
|
||||
_randomSource->setSeed(Common::RandomSource::generateNewSeed());
|
||||
|
||||
_input = new InputManager();
|
||||
_sound = new SoundManager();
|
||||
|
||||
Reference in new issue
Block a user