mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
init random seed with time
svn-id: r10784
This commit is contained in:
parent
e3fcae3869
commit
5c55660e9b
@ -586,7 +586,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst)
|
||||
VAR_CLICK_AREA = 0xFF;
|
||||
|
||||
// Set the RNG seed
|
||||
_rnd.setSeed(_system->get_msec());
|
||||
_rnd.setSeed(_system->get_msecs());
|
||||
|
||||
// Use g_scumm from error() ONLY
|
||||
g_scumm = this;
|
||||
|
Loading…
Reference in New Issue
Block a user