init random seed with time

svn-id: r10784
This commit is contained in:
Max Horn 2003-10-13 18:10:08 +00:00
parent e3fcae3869
commit 5c55660e9b

View File

@ -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;