浏览代码

Fix duplicated block-visit regression

AlexVinS 9 年之前
父节点
当前提交
4a37ed99ea
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      lib/mapping/MapFormatH3M.cpp

+ 0 - 5
lib/mapping/MapFormatH3M.cpp

@@ -119,11 +119,6 @@ void CMapLoaderH3M::init()
 	readEvents();
 	times.push_back(MapLoadingTime("events", sw.getDiff()));
 
-	// Calculate blocked / visitable positions
-	for(auto & elem : map->objects)
-	{
-		map->addBlockVisTiles(elem);
-	}
 	times.push_back(MapLoadingTime("blocked/visitable tiles", sw.getDiff()));
 
 	// Print profiling times