2
0
Эх сурвалжийг харах

Fix duplicated block-visit regression

AlexVinS 9 жил өмнө
parent
commit
4a37ed99ea

+ 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