mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Slightly better randomization of map template
This commit is contained in:
parent
718d42f0d6
commit
880f692762
@ -543,7 +543,7 @@ void CGameHandler::init(StartInfo *si, Load::ProgressAccumulator & progressTrack
|
||||
{
|
||||
if (si->seedToBeUsed == 0)
|
||||
{
|
||||
si->seedToBeUsed = static_cast<ui32>(std::time(nullptr));
|
||||
si->seedToBeUsed = CRandomGenerator::getDefault().nextInt();
|
||||
}
|
||||
CMapService mapService;
|
||||
gs = new CGameState();
|
||||
|
Loading…
Reference in New Issue
Block a user