mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
HUGO: Remove unnecessary call to setSeed()
Initializing Common::RandomSource's seed with a fixed value will always yield the same sequence of pseudo-random numbers which is probably not desirable. Since the constructor takes care of initializing the seed properly doing so manually is not needed.
This commit is contained in:
parent
39fd49e131
commit
99c72c7b5c
@ -638,7 +638,6 @@ void HugoEngine::initialize() {
|
||||
calcMaxScore(); // Initialize maxscore
|
||||
|
||||
_rnd = new Common::RandomSource("hugo");
|
||||
_rnd->setSeed(42); // Kick random number generator
|
||||
|
||||
switch (_gameVariant) {
|
||||
case kGameVariantH1Dos:
|
||||
|
Loading…
x
Reference in New Issue
Block a user