Explorar o código

Fix duplicated block-visit regression

AlexVinS %!s(int64=9) %!d(string=hai) anos
pai
achega
4a37ed99ea
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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