mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Slightly better randomization of map template
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user