1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-03 14:52:11 +02:00

Fix duplicated block-visit regression

This commit is contained in:
AlexVinS 2016-02-26 00:42:49 +03:00
parent 2021decb91
commit 4a37ed99ea

View File

@ -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