1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

remove unused variables

This commit is contained in:
Andrey Filipenkov
2022-09-22 11:49:55 +03:00
parent 143b0983e6
commit c9c79887a7
13 changed files with 11 additions and 58 deletions

View File

@@ -193,11 +193,7 @@ void Zone::fractalize()
rmg::Area clearedTiles(dAreaFree);
rmg::Area possibleTiles(dAreaPossible);
rmg::Area tilesToIgnore; //will be erased in this iteration
//the more treasure density, the greater distance between paths. Scaling is experimental.
int totalDensity = 0;
for(auto ti : treasureInfo)
totalDensity += ti.density;
const float minDistance = 10 * 10; //squared
if(type != ETemplateZoneType::JUNCTION)