浏览代码

Some more.

DjWarmonger 11 年之前
父节点
当前提交
2d8cd1c5b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/CGameState.cpp

+ 1 - 1
lib/CGameState.cpp

@@ -840,7 +840,7 @@ void CGameState::initNewGame()
 		CStopWatch sw;
 
 		// Gen map
-		CMapGenerator mapGenerator(*scenarioOps->mapGenOptions, std::time(nullptr));
+		CMapGenerator mapGenerator(*scenarioOps->mapGenOptions, scenarioOps->seedToBeUsed);
 		map = mapGenerator.generate();
 
 		// Update starting options